3 ms·
> Consequently writing tests, even if you never actually run them, makes your software better. It could be argued that an experienced programmer doesn't need T
by rlpb 10y ago
> Consequently writing tests, even if you never actually run them, makes your software better.
It could be argued that an experienced programmer doesn't need TDD to write the same code that TDD could have produced.
- ivan_gammel 10y agoThat's true. Neither from system design, nor from quality perspective TDD is necessary to produce good code. However, it may still add some value even for experienced programmers, when it's easier to write a test than to build the pure mental model of the domain or the algorithm.
- gridspy 10y agoThat used to be my attitude too. However the experienced programmer will be very happy when they don't have to re-test all of the old functionality manually after a large re-factor of some core code.
- ivan_gammel 10y agoExperienced programmer may write tests after the main code is complete to make sure nothing is broken during refactoring. It has nothing to do with TDD.
- onion2k 10y agoI've only been a developer for 20 years so I'm not at that point yet.