How to write better code faster

Developing software is three steps, executed in an endless loop:

  1. Write
  2. Test
  3. Debug

That's it. Write some code. See if it does what you want. Figure out why it didn't, then repeat.

Each time through the loop offers the opportunity to course correct as you make choices and get feedback. The more times you can execute this cycle in a given period, the better. The longer you go without the feedback of steps two and three, the longer you are potentially meandering off course.

This week I'm going to show you how to execute each step with the goal of tightening your feedback loop. Until then, start thinking about how you would approach each step to keep its duration small and set up the following step for success.

More tomorrow!

Next Up:
One Thing at a Time

Previously:
A Difference of Just a Few Years


Want to impress your boss?

Useful articles delivered to your inbox. Learn to to think about software development like a professional.

Icon