How Test Driven Development (TDD) Improved My Quality of Life as a Developer

By Nate Taylor

Elevator Pitch

When I first started out, I loved programming. Then, over time, I started to dread making changes, as one change broke something else. Once I started focusing on TDD, however, my job satisfaction went up. This talk looks at how TDD can help with a variety of common problems.

Description

I used to love development. Then, sometime after I started doing it professionally, it really started to ware on me. I had days or weeks where I dreaded coming to the office. After all, I knew what I was going to find there. Bug reports from customers that would force me to dig deep into the bowels of the application, make a change and hope that my fix worked. And really hope that it didn’t break anything else.

Whenever I read old code, I absolutely hated it. Especially if I was the one to write it. It would bring back vague memories of conversations we had about the feature, but they were vague. I wasn’t really sure what the code was supposed to be doing, and reading it didn’t always help.

Then I started practicing Test Driven Development, and it changed how I looked at my job and how I looked at my code. Now I enjoy coming in to work. I sometimes find it hard to leave because I’m making so much progress. I find myself having features and user stories just fly by, as I’m continually making progress towards the goal line. Even my code has become more readable.

In this talk, we’ll look at how it was that TDD was able to help me achieve that, how it can do it for you, and how, in the end, TDD is about much more than just testing.

Notes

This talk takes a somewhat light-hearted approach to real problems we experience as software developers (e.g. context switching.) It was well received at Nebraska.Code in 2016, with one person (not me) claiming it was the best talk they saw at the conference.

There are no prerequisites, other than an interest in getting better at being a software developer.