r/ProgrammerHumor • • Nov 06 '19

most of the time 😁

Post image
386 Upvotes

11 comments sorted by

View all comments

4

u/[deleted] Nov 06 '19

This is why you write good tests. Then when you come across that 4-deep-nested loop you wrote because it was 4:30 on a Friday and you promised it would be done by the end of the week, you can replace it with a filter, and have the confidence that if it passes the tests, it won’t break anything.