DEV Community

Discussion on: What's Been Your Biggest "Why Didn't Someone Tell Me" Discovery?

Collapse
 
amehmeto profile image
amehmeto

The discovery that I could escape the debugging hell with TDD.

blog.imagicle.com/test-diven-devel...

Collapse
 
murrayvarey profile image
MurrayVarey

Great link -- that really lays TDD out clearly. It can be a tricky sell sometimes.

Out of interest, was your TDD discovery a lightbulb moment or more of a slow realisation?

Collapse
 
amehmeto profile image
amehmeto • Edited

A wonderful lightbulb. Up to this day, I don't understand why it is not taught from day 1.
I also don't understand why it's not the standard way of doing code''.

Sure there's no one way of coding, but from a junior perspective, TDD is so structuring.

'' I guess that's because developers darwinism : only those who learned to love debugging survived to become professionals.

Thread Thread
 
murrayvarey profile image
MurrayVarey

Up to this, I don't understand why it is not taught from day 1

It may well come. I have a similar feeling about source control. Who wouldn't want a great whack off undo button from day one?