The Rules of Programming: How to Write Better Code

The Rules of Programming: How to Write Better Code - Paperback

$52.99
Skip to product information
The Rules of Programming: How to Write Better Code

The Rules of Programming: How to Write Better Code - Paperback

$52.99
Order today — estimated delivery in 5–10 business days
Free shipping on orders $50+, otherwise $4.99. Tracked USPS delivery to all 50 states.
Arrives damaged? We replace it free. Brand-new copy, packed in a US warehouse.

by Chris Zimmerman (Author)

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 standalone 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 simpler
  • Let your code tell its own story
  • Localize complexity
  • Generalization takes three examples
  • Work backward from your result, not forward from your code
  • The first lesson of optimization is don't optimize
  • A good name is the best documentation
  • Bugs are contagious
  • Eliminate failure cases
  • Code that isn't running doesn't work
  • Sometimes you just need to hammer the nails
Number of Pages: 343
Dimensions: 0.8 x 8.9 x 5.9 IN
Publication Date: January 17, 2023
Book details
AuthorChris Zimmerman
FormatPaperback
Pages343
PublisherO'Reilly Media
PublishedJanuary 17, 2023
ISBN-139781098133115
ConditionBrand new
Shipping

Every book ships brand new from a US warehouse within 1–4 business days and travels by USPS Media Mail with tracking. Most orders arrive 5–10 business days after you order; holidays and bad weather can add a few days.

Free shipping on orders $50+, otherwise $4.99 per order. We deliver to all 50 states, APO/FPO addresses and US territories. Shipping policy

Damaged book? Returns

If your book arrives damaged, defective or isn't the title you ordered, email support@readridge.com within 7 days of delivery with your order number and a photo. We'll send a free replacement or a full refund — no need to ship it back unless we ask.

Because each book is shipped new and sealed to you, we can't accept returns for change of mind or a title ordered by mistake. Please double-check the format and edition before checkout. Refund policy

Sending it as a gift?

Just enter the recipient's shipping address at checkout. The box arrives labeled “Your Book Order”, with no receipt or prices inside — gift-ready by default.

More for your shelf