r/ProgrammerHumor • monkeyuser.com • Mar 06 '18

Focus

Post image
43k Upvotes

805 comments sorted by

View all comments

Show parent comment

1

u/CrazyDoughCarDough Mar 06 '18

Uhm I take it TDD is not something you tried? Would make all that go away. If you do it right.

0

u/snuxoll Mar 06 '18

I’m a firm believer that TDD often goes too far, tests are great but I also don’t like swimming in a sea of red when refactoring because every single class has hundreds of tightly coupled tests. I write regression tests and functional tests, unit tests are reserved for for classes implementing business logic most of the time.