DEV Community

Discussion on: Biggest aha moment

Collapse
 
ben profile image
Ben Halpern

I recall the first time TDD really worked naturally for me, I was like OHHHHHHHHHHHHHHH.

I'd read a lot about the practice, but it took quite a while before I was good enough where I wasn't stumbling around in the dark. TDD isn't as effective when you have no idea what you're doing.

Collapse
 
kip13 profile image
kip

How much time did you need to work naturally with TDD ? Any advice for newbies ?

Collapse
 
ben profile image
Ben Halpern

It took me quite a long time and I still don't TDD all the time to say the least. But I think it depends on your personality/coding style. It took me years, but along the way I learned that TDD was way less common than most people imply, and its use actually pretty rare.

Thread Thread
 
kip13 profile image
kip • Edited

Interesting, I'm always see and hear that devs(seniors maybe ?) says "TDD has a lot of benefits, you need to use". Thanks Ben.

Collapse
 
pwaivers profile image
Patrick Waivers

"Uncle" Bob Martin has a great powerpoint on learning TDD: butunclebob.com/ArticleS.UncleBob..... For any new language or test framework, he solves the Bowling Game coding kata. Following his examples helped me understand TDD better.