
The code examples in the book are written in PHP. Deferring design decisions to reduce anxiety when writing code.Delaying the need to remove duplication with the Rule of Three.Avoiding unnecessary code by using reasonable return values.Using code as the primary signal, not comments.Making naming things easy with context and time.Refactoring long blocks of code by understanding reading levels.Introducing objects to encapsulate complexity.
Untangling nested code to improve visual honesty and reduce reader overhead. Avoiding code rot with analysis and automation.
Writing code that prioritizes readability by humans, not a computer. You can also purchase the Mid and Full Kits, which include the audio version of BaseCode and other premium offerings.īaseCode focuses on code readability and other skills around writing clean, maintainable code for humans: The BaseCode Lite Kit contains the book (PDF, ePub, and mobi formats) and code samples for free once you register. I've decided to make the book FREE as I want these practices to be available to all developers. I wrote BaseCode a few years ago to distill the tips I learned over 20 years of programming into 10 practices for writing more readable code. This week Jason announced that the book is now free for everyone:
BaseCode by Jason McCreary is a field guide containing real-world practices to help you write code that's less complex and more readable.