r/ProgrammerHumor • • Oct 20 '26 • Bravo 1

Meme claudeWasNotHere

Post image
18k Upvotes

230 comments sorted by

View all comments

Show parent comment

33

u/AdminsLoveGenocide Oct 20 '26

Me: TDD is the smart way to do things.

I think this is something developers have chosen to believe with close to zero evidence.

39

u/Dreadgoat Oct 20 '26 • Bravo

TDD is the best solution in the magical fairytale world where you have complete and correct requirements.

7

u/AdminsLoveGenocide Oct 20 '26

I think even thats generous.

In my experience its a lot of effort for not much return. On top of the tests themselves you have to often code things in an awkward way to avoid having to mock everything out, or worse you have to mock everything out, or worse avoid otherwise useful patterns.

And for that you get what? 95% of the time they only catch an issue with the unit test itself and not an actual bug impacting the actual system. And then faced with evidence that the whole endeavour is a giant waste of time someone will sigh and say, if only we were implementing TDD correctly and try to use this failure of TDD as a reason to further indoctrinate impressionable junior devs on the importance of wasting their days on shitty unit tests that dont actually test anything.

Automated functional testing and full end to end testing are useful. TDD is just something dumb that people got scammed by.

11

u/Mongolian_Hamster Oct 20 '26

The fuck you on about. It's been proven time and time again.

Is it applicable to every situation. No. It never was meant to be.

5

u/AdminsLoveGenocide Oct 20 '26

How was it proven?

-5

u/Mongolian_Hamster Oct 20 '26

The onus is on you to prove it isn't since you claimed. You just came across someone who caught you in your bs. Use Google.

6

u/Lonsdale1086 Oct 20 '26

You can't prove a negative mate.

You're making a claim it's been "proven time and time again" that Test Driven Development is "the smart way to do things".

Prove it.

9

u/AdminsLoveGenocide Oct 20 '26

Catching me in my BS would be showing me the proof that I say doesn't exist.

That would show me.

-4

u/Mongolian_Hamster Oct 20 '26

Stupid people think like this.

You made the initial claim. Prove everyone wrong.

Every academic study, and every corporation. Show them.

You don't have anything.

7

u/AdminsLoveGenocide Oct 20 '26

Prove who wrong? Which study? If I link to a poor study that has nothing more than a questionnaire about satisfaction with TDD would I have proven that no good study exists?

If I spent the next year looking for better studies, find none and come back to you and just repeat my original claim would that prove my original claim?

Its not just that you dont have the proof you say exists, you dont even fully appreciate what the evidence you are asking for would look like.

You dont even known what you dont know.

3

u/Wonderful-Habit-139 Oct 20 '26

Are we serious right now? lmao.

2

u/DyslexicBrad Oct 20 '26

It's been proven time and time again

That's the claim you made, so the onus is on you to prove it