The Rules of Programming: How to Write Better Code

5.0

Reviews from our users

You Can Ask your questions from this book's AI after Login
Each download or ask from book AI costs 2 points. To earn more free points, please visit the Points Guide Page and complete some valuable actions.

This philosophy-of-programming guide presents a unique and entertaining take on how to think about programming. A collection of 21 pragmatic rules, each presented in a stand-alone chapter, captures the essential wisdom that every freshly minted programmer needs to know and provides thought-provoking insights for more seasoned programmers.Author Chris Zimmerman, cofounder of the video game studio Sucker Punch Productions, teaches basic truths of programming by wrapping them in memorable aphorisms and driving them home with examples drawn from real code. This practical guide also helps managers looking for ways to train new team members.The rules in this book include: As simple as possible, but no simplerLet your code tell its own storyLocalize complexityGeneralization takes three examplesWork backward from your result, not forward from your codeThe first lesson of optimization is don't optimizeA good name is the best documentationBugs are contagiousEliminate failure casesCode that isn't running doesn't workSometimes you just need to hammer the nails

Free Direct Download

You Can Download this book after Login

Accessing books through legal platforms and public libraries not only supports the rights of authors and publishers but also contributes to the sustainability of reading culture. Before downloading, please take a moment to consider these options.

Find this book on other platforms:

WorldCat helps you find books in libraries worldwide.
See ratings, reviews, and discussions on Goodreads.
Find and buy rare or used books on AbeBooks.

1120

بازدید

5.0

امتیاز

51

نظر

98%

رضایت

Reviews:


5.0

Based on 1 users review

احمد محمدی

"کیفیت چاپ عالی بود، خیلی راضی‌ام"

⭐⭐⭐⭐⭐
nandan0
nandan0

June 7, 2025, 5:37 a.m.

The author is forthright that the rules may not apply to all situations, but many of the rules are general enough to be applied to most environments. The examples used to illustrate the rules provides insight into game programming, an area that most of us can only relate to via the end product. The book is a well written and thought provoking take on computer programming best practices. A worthy addition to your library.

And as the author suggests, take inspiration from the rules and define a few that fit your situation!


Questions & Answers

Ask questions about this book or help others by answering


Please login to ask a question

No questions yet. Be the first to ask!