this post was submitted on 24 Jul 2026
446 points (98.3% liked)
Programmer Humor
32452 readers
1709 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I mean I'm theory for any planned method you would know the input and expected output before the coffee is written.
As I said, an interface can easily be tested, but if it's internal implementation I normally make a design, implement it, and I usually come up with other ideas and I like having the fluidity of making changes as I prototype and such, that way I'm not constrained by a test yet. After I'm done, and documented my choices if necessary, then I add the tests.
Except that then you'll shape your interfaces to drive tests nicely, instead of being, you know, sane and useful (been there, done that).