Chapter 1Program for Production
When you program for fun, it’s easy to skimp on things such as handling edge cases, error reporting, and so forth. It’s a pain. But when you program for production—not to mention a paycheck—you can’t take the shortcuts.
Production-quality code seems like a straightforward goal, but our industry has had a heck of a time figuring out how to get it right. Windows 95, for example, had a bug that would hang the OS after 49.7 days of continuous operation—which wouldn’t be especially surprising except that this bug took four years to discover because other bugs would crash Windows 95 long before 49.7 days could pass.[1]
You can take one of two approaches to quality: build it in from the beginning, or beat it in afterward. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access