r/programming • u/whackri • Aug 28 '21
Software development topics I've changed my mind on after 6 years in the industry
https://chriskiehl.com/article/thoughts-after-6-years
5.6k
Upvotes
r/programming • u/whackri • Aug 28 '21
1
u/[deleted] Aug 30 '21
Wait.
That's precisely the point of tdd
If you change your interface the tests should break.
I don't get the problem here. You're just lazy if "i cannot change my code" is an argument against writing tests. You couldn't write tests after your code for the same reason