Elaborate.
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
I do it sometimes, especially when the bug is hard to reproduce and I know exactly what's causing it. Sometimes it's quicker to write the tests than to test manually.
I usually define all the tests I want to have but dont implement the testing logic. It helps me gather my thoughts like TDD would like you to do and I already have to start thinking somewhat about inputs and outputs. Its kind of a middle ground of TDD that works well for me.
TDD is up there with CBT if no one knows how to implement it properly
You're goddamn right.
OOP is another case of nice in theory.
The dev who don't know how to TDD their poorly designed object oriented spaghetti code are downvoting you, lol. Wear that with pride, but be sure to charge extra when it's time to fix their shit.