Think Before You Build

I hope you have seen how much fun programming can be. Writing code that works can be so exciting. When I am working on a hard problem and I finally get my code to work, I often throw my hands into the air as if I just sank the winning basket at a championship basketball game (that situation is probably just as nerdy as you imagine it). Writing code can be really fun and rewarding—so much so that as soon as you start a project, you want to jump right in and start writing code. The step of planning your project and designing your software is easy to overlook.

The design step is especially easy to skip because designing software can be difficult, confusing, and frustrating. You have to use your imagination. You have to imagine ...

Get Learning to Program now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.