Writing Quality Code
summary
Five concrete rules: learn one level below the runtime (examples: a self‑modifying program fails on 80286 vs 8086 because of the prefetch queue, and a compiler optimization bug appears only in release builds), aggressively remove duplication (code dropped from 16.5k to 9.3k lines), avoid copy‑paste like repeating a selector 31 times instead of looping, keep functions to a single screen, handle error paths first, and use IDE/build plugins plus regular refactoring to enforce basics.
AI-written summary · about
chapters (4)
related talks
20mGood Code is a Balancing Act
51mReasons and Ways to Improve Code Quality
46mCode Smells - Hall of Fame
59mTechniques for writing high-quality code
25mBest Practices for Writing Clean and Maintainable Codes
40mAssuring top-notch code quality in the Java Universe
40mGood Code: What, Why, and How to Get There
35mFive Lines of Codes
