Listen and read

Step into an infinite world of stories

  • Listen and read as much as you want
  • Over 400 000+ titles
  • Bestsellers in 10+ Indian languages
  • Exclusive titles + Storytel Originals
  • Easy to cancel anytime
Subscribe now
Cover for The Rules of Programming: How to Write Better Code

The Rules of Programming: How to Write Better Code

Duration
7H 10min
Language
English
Format
Category

Non-Fiction

This philosophy-of-programming guide presents a unique and entertaining take on how to think about programming. A collection of twenty-one 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 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; and Sometimes you just need to hammer the nails.

© 2023 Ascent Audio (Audiobook): 9781663721068

Release date

Audiobook: 11 April 2023

Others also enjoyed ...

  1. Facilitating Software Architecture: Empowering Teams to Make Architectural Decisions
    Facilitating Software Architecture: Empowering Teams to Make Architectural Decisions Andrew Harmel-Law
  2. AI Value Creators: Beyond the Generative AI User Mindset
    AI Value Creators: Beyond the Generative AI User Mindset Rob Thomas, Paul Zikopoulos, Kate Soule
  3. Early: An Intimate History of Premature Birth and What It Teaches Us About Being Human
    Early: An Intimate History of Premature Birth and What It Teaches Us About Being Human Sarah DiGregorio
  4. Our Livable World: Creating the Clean Earth of Tomorrow
    Our Livable World: Creating the Clean Earth of Tomorrow Marc Schaus
  5. The Age of Overwhelm: Strategies for the Long Haul
    The Age of Overwhelm: Strategies for the Long Haul Laura van Dernoot Lipsky
  6. Brain Boost: Healthy Habits for a Happier Life
    Brain Boost: Healthy Habits for a Happier Life Dr. Barbara J. Sahakian, Dr. Christelle Langley
  7. The Field Guide for Small Group Leaders: Equipping Everyday Believers for Life-Changing Community
    The Field Guide for Small Group Leaders: Equipping Everyday Believers for Life-Changing Community Sam O'Neal
  8. ChatGPT And The Future of AI: The Deep Language Revolution
    ChatGPT And The Future of AI: The Deep Language Revolution Terrence J. Sejnowski
  9. Wise Decisions: A Science-Based Approach to Making Better Choices
    Wise Decisions: A Science-Based Approach to Making Better Choices Sheila Ohlsson, James E. Loehr
  10. Artificial General Intelligence: (The MIT Press Essential Knowledge series)
    Artificial General Intelligence: (The MIT Press Essential Knowledge series) Julian Togelius
  11. AI and Machine Learning for Coders: A Programmer's Guide to Artificial Intelligence
    AI and Machine Learning for Coders: A Programmer's Guide to Artificial Intelligence Laurence Moroney
  12. Seven Deadly Sins: The Biology of Being Human
    Seven Deadly Sins: The Biology of Being Human Guy Leschziner
  13. How to Fall in Love with Questions: A New Way to Thrive in Times of Uncertainty
    How to Fall in Love with Questions: A New Way to Thrive in Times of Uncertainty Elizabeth Weingarten
  14. Quack Quack: The Threat of Pseudoscience
    Quack Quack: The Threat of Pseudoscience Dr. Joe Schwarcz
  15. Slacking: A Guide to Ivy League Miseducation
    Slacking: A Guide to Ivy League Miseducation Adam Kissel, Rachel Alexander Cambre, Madison Marino Doan
  16. 42 Reasons to Hate the Universe: And One Reason Not To
    42 Reasons to Hate the Universe: And One Reason Not To Chris Ferrie, Wade David Fairclough, Byrne Laginestra
  17. The Feeling Economy: How Artificial Intelligence Is Creating the Era of Empathy
    The Feeling Economy: How Artificial Intelligence Is Creating the Era of Empathy Roland T. Rust, Ming-Hui Huang
  18. The Science of the Good Samaritan: Thinking Bigger about Loving Our Neighbors
    The Science of the Good Samaritan: Thinking Bigger about Loving Our Neighbors Dr. Emily Smith
  19. Neurobiology For Dummies, 2nd Edition
    Neurobiology For Dummies, 2nd Edition Frank Amthor, PhD, Anne B. Theibert, PhD
  20. Uncertain: The Wisdom and Wonder of Being Unsure
    Uncertain: The Wisdom and Wonder of Being Unsure Maggie Jackson
  21. The Age-Proof Brain: New Strategies to Improve Memory, Protect Immunity, and Fight Off Dementia
    The Age-Proof Brain: New Strategies to Improve Memory, Protect Immunity, and Fight Off Dementia Dr. Marc Milstein
  22. Writing to Learn: How to Write - And Think - Clearly About Any Subject at All
    Writing to Learn: How to Write - And Think - Clearly About Any Subject at All William Zinsser
  23. The Art of Change: Transforming Paradoxes into Breakthroughs
    The Art of Change: Transforming Paradoxes into Breakthroughs Jeff DeGraff, Staney DeGraff
  24. Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs
    Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs Mike Taylor, James Phoenix
  25. The Self and its Disorders
    The Self and its Disorders Shaun Gallagher
  26. Tidy First?: A Personal Exercise in Empirical Software Design
    Tidy First?: A Personal Exercise in Empirical Software Design Kent Beck
  27. The End of Life as We Know It: Ominous News from the Frontiers of Science
    The End of Life as We Know It: Ominous News from the Frontiers of Science Dr. Michael Guillen
  28. The Invincible Brain: The Clinically Proven Plan to Age-Proof Your Brain and Stay Sharp for Life
    The Invincible Brain: The Clinically Proven Plan to Age-Proof Your Brain and Stay Sharp for Life Majid Fotuhi
  29. Mayo Clinic Guide to Fertility and Conception: Expertise from Leading Fertility Specialists for Maximizing Reproductive Health and Growing Your Family (2nd Edition)
    Mayo Clinic Guide to Fertility and Conception: Expertise from Leading Fertility Specialists for Maximizing Reproductive Health and Growing Your Family (2nd Edition) Zaraq Khan, M.B.B.S., Samir Babayev, M.D., Chandra C. Shenoy, M.D.
  30. Hollowed Out: Why the Economy Doesn't Work without a Strong Middle Class
    Hollowed Out: Why the Economy Doesn't Work without a Strong Middle Class David Madland
  31. Math-ish: Finding Creativity, Diversity, and Meaning in Mathematics
    Math-ish: Finding Creativity, Diversity, and Meaning in Mathematics Jo Boaler
  32. How To Think About AI: A Guide For The Perplexed
    How To Think About AI: A Guide For The Perplexed Richard Susskind
  33. Amazing Truths: How Science and the Bible Agree
    Amazing Truths: How Science and the Bible Agree Michael Guillen
  34. The Beauty of The Beastly: New Views on the Nature of Life
    The Beauty of The Beastly: New Views on the Nature of Life Natalie Angier
  35. A Brain for Innovation: The Neuroscience of Imagination and Abstract Thinking
    A Brain for Innovation: The Neuroscience of Imagination and Abstract Thinking Min W. Jung
  36. The Science of Creativity
    The Science of Creativity Scientific American
  37. Primetime: A New Vision for Midlife
    Primetime: A New Vision for Midlife Margie Lachman
  38. The Neuroscience of Excellent Sleep
    The Neuroscience of Excellent Sleep Stan Rodski
  39. Chingona: Owning Your Inner Badass for Healing and Justice
    Chingona: Owning Your Inner Badass for Healing and Justice Alma Zaragoza-Petty
  40. Thinking About Medicine: An Introduction to the Philosophy of Healthcare
    Thinking About Medicine: An Introduction to the Philosophy of Healthcare David Misselbrook
  41. No One Left Alone: A Story of How Community Helps Us Heal
    No One Left Alone: A Story of How Community Helps Us Heal Liz Walker
  42. Continuous Deployment: Enable Faster Feedback, Safer Releases, and More Reliable Software
    Continuous Deployment: Enable Faster Feedback, Safer Releases, and More Reliable Software Valentina Servile
  43. Technology is Not the Problem
    Technology is Not the Problem Timandra Harkness
  44. Imagine a Door: A Writer's Guide to Unlocking Your Story, Choosing a Publishing Path, and Honoring the Creative Journey
    Imagine a Door: A Writer's Guide to Unlocking Your Story, Choosing a Publishing Path, and Honoring the Creative Journey Laura Stanfill
  45. We Need to Talk About Inflation: 14 Urgent Lessons from the Last 2,000 Years
    We Need to Talk About Inflation: 14 Urgent Lessons from the Last 2,000 Years Stephen D. King