Synopses & Reviews
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.
A guide to writing computer code covers such topics as variable naming, presentation style, error handling, and security.
Goodliffe 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.
About the Author
Pete Goodliffe is a senior software engineer, currently working on embedded systems in C++. He never stays at the same place in the software food chain; from bringing new systems up, writing device drivers, through OS implementation, audio codecs, JVM implementation, to MIDI sequencing applications. He writes a regular column for accu.org called Professionalism in Programming and has published articles on software development in Hardcopy, C/C++ Users Journal, and Dr Dobb's Journal.
Table of Contents
ADVANCE PRAISE FOR CODE CRAFT Dedication PREFACE ACKNOWLEDGMENTS ABOUT THE AUTHOR AT THE CODEFACE Chapter 1: ON THE DEFENSIVE Chapter 2: THE BEST LAID PLANS Chapter 3: WHAT'S IN A NAME? Chapter 4: THE WRITESTUFF Chapter 5: A PASSING COMMENT Chapter 6: TO ERR IS HUMAN THE SECRET LIFE OF CODE Chapter 7: THE PROGRAMMER'S TOOLBOX Chapter 8: TESTING TIMES Chapter 9: FINDING FAULT Chapter 10: THE CODE THAT JACK BUILT Chapter 11: THE NEED FOR SPEED Chapter 12: AN INSECURITY COMPLEX THE SHAPE OF CODE Chapter 13: GRAND DESIGNS Chapter 14: SOFTWARE ARCHITECTURE Chapter 15: SOFTWARE EVOLUTION OR SOFTWARE REVOLUTION? A HERD OF PROGRAMMERS? Chapter 16: CODE MONKEYS Chapter 17: TOGETHER WE STAND Chapter 18: PRACTICING SAFE SOURCE PART OF THE PROCESS Chapter 19: BEING SPECIFIC Chapter 20: A REVIEW TO A KILL Chapter 21: HOW LONG IS A PIECE OF STRING? VIEW FROM THE TOP Chapter 22: RECIPE FOR A PROGRAM Chapter 23: THE OUTER LIMITS Chapter 24: WHERE NEXT? Answers and Discussion BIBLIOGRAPHY COLOPHON