Many programmers know how to write correct code - code that works. But not all know how to craft great code - code that is well written and easy to understand. Code Craft teaches programmers how to move beyond writing correct code to writing great code. The book covers code writing concerns, including code presentation style, variable naming, error handling, and security; and the wider issues of programming in the real world, such as good teamwork, development processes, and documentation. Code Craft presents language-agnostic advice that is relevant to all developers, from an author with loads of practical experience. A Q&A section at the end of each chapter helps readers to review the material and makes the book suited for academic use as well.
Programming is your passion. It’s sad, but it’s true. As a hardcore techie, you practically program in your sleep. Now you’re in the heart of the Real World, deep in the industry, doing what you could never imagine: being paid to play with computers. The truth is, you’d have paid someone for the privilege.
But this is an odd place, not what you were expecting at all. Surprised by the incursion of unrealistic deadlines and bad management (if management is what they call it), of shifting requirements and a legacy of awful code, you’re left wondering if this is really it. The world is conspiring to prevent you from writing the code you always dreamed of. Welcome to life in the software factory. You’re on the front line of a tough battle to create pieces of artistic mastery and scientific genius. Good luck.