Listen and read

Step into an infinite world of stories

  • Read and listen as much as you want
  • Over 950 000 titles
  • Exclusive titles + Storytel Originals
  • Easy to cancel anytime
Try 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. The Narrative Brain: The Stories Our Neurons Tell
    The Narrative Brain: The Stories Our Neurons Tell Fritz Alwin Breithaupt, Ph.D.
  2. The Art of Living an Absurd Existence: Paradoxes and Thought Experiments That Change the Way You Think
    The Art of Living an Absurd Existence: Paradoxes and Thought Experiments That Change the Way You Think Robert Pantano
  3. Choosing Freedom: A Kantian Guide to Life
    Choosing Freedom: A Kantian Guide to Life Karen Stohr
  4. Life in Sync: The Science of Internal Clocks and How We’re Disrupting Them
    Life in Sync: The Science of Internal Clocks and How We’re Disrupting Them Philippa Gander
  5. This Beauty: A Philosophy of Being Alive
    This Beauty: A Philosophy of Being Alive Nick Riggle
  6. Work Backwards
    Work Backwards Tim Duggan
  7. Life Skills for a Broken World
    Life Skills for a Broken World Ahona Guha
  8. Cerebral Entanglements: How the Brain Shapes Our Public and Private Lives
    Cerebral Entanglements: How the Brain Shapes Our Public and Private Lives Allan J. Hamilton
  9. How Change Happens: Why Some Social Movements Succeed While Others Don't
    How Change Happens: Why Some Social Movements Succeed While Others Don't Leslie R. Crutchfield
  10. Belonging: The Science of Creating Connection and Bridging Divides
    Belonging: The Science of Creating Connection and Bridging Divides Geoffrey L. Cohen
  11. NeuroAI: Winning the Minds of Consumers with Neuroscience Powered GenAi
    NeuroAI: Winning the Minds of Consumers with Neuroscience Powered GenAi A.K. Pradeep, Ratnakar Dev, Anirudh Acharya, Rajat Chakravarty
  12. Aftershock: How Past Events Shake Up Your Life Today
    Aftershock: How Past Events Shake Up Your Life Today Geri-Lynn Utter
  13. Mastering Hard Conversations: Turning conflict into collaboration
    Mastering Hard Conversations: Turning conflict into collaboration Mark Rosenberg
  14. TransFormed: The Power of God's Word and God's People in One Woman's Journey through Gender Confusion, Reassignment Surgery, and Detransitioning
    TransFormed: The Power of God's Word and God's People in One Woman's Journey through Gender Confusion, Reassignment Surgery, and Detransitioning Kyla Gillespie
  15. What Makes Time Special?
    What Makes Time Special? Craig Callender
  16. Uncertain: The Wisdom and Wonder of Being Unsure
    Uncertain: The Wisdom and Wonder of Being Unsure Maggie Jackson
  17. Motivating Students Who Don't Care: Proven Strategies to Engage All Learners, Second Edition
    Motivating Students Who Don't Care: Proven Strategies to Engage All Learners, Second Edition Allen N. Mendler
  18. Illuminating Our True Nature: Yogic Practices for Personal and Collective Healing
    Illuminating Our True Nature: Yogic Practices for Personal and Collective Healing Michelle Cassandra Johnson
  19. Self-Obsession: How our need for identity threatens our wellbeing
    Self-Obsession: How our need for identity threatens our wellbeing Dr. Tom Davies
  20. Find Your Red Thread: Make Your Big Ideas Irresistible
    Find Your Red Thread: Make Your Big Ideas Irresistible Tamsen Webster
  21. 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
  22. The Age of Overwhelm: Strategies for the Long Haul
    The Age of Overwhelm: Strategies for the Long Haul Laura van Dernoot Lipsky
  23. The Science of Weird Shit: Why Our Minds Conjure the Paranormal
    The Science of Weird Shit: Why Our Minds Conjure the Paranormal Chris French
  24. What the Body Knows: A Guide to the New Science of Our Immune System
    What the Body Knows: A Guide to the New Science of Our Immune System John Trowsdale
  25. The Random Factor: How Chance and Luck Profoundly Shape Our Lives and the World around Us
    The Random Factor: How Chance and Luck Profoundly Shape Our Lives and the World around Us Mark Robert Rank
  26. Annoying: The Science of What Bugs Us
    Annoying: The Science of What Bugs Us Flora Lichtman, Joe Palca
  27. What Does It Matter?: Live with Less Stress and More Joy
    What Does It Matter?: Live with Less Stress and More Joy Emma Pears
  28. Good Judgment: Making Better Business Decisions with the Science of Human Personality
    Good Judgment: Making Better Business Decisions with the Science of Human Personality Richard Davis
  29. Unforgettable Presence: Get Seen, Gain Influence, and Catapult Your Career
    Unforgettable Presence: Get Seen, Gain Influence, and Catapult Your Career Lorraine K. Lee
  30. Wish I Were Here: Boredom and the Interface
    Wish I Were Here: Boredom and the Interface Mark Kingwell
  31. The Tao of Self-Confidence: A Guide to Moving Beyond Trauma and Awakening the Leader Within
    The Tao of Self-Confidence: A Guide to Moving Beyond Trauma and Awakening the Leader Within Sheena Yap Chan
  32. Brain Boost: Healthy Habits for a Happier Life
    Brain Boost: Healthy Habits for a Happier Life Dr. Barbara J. Sahakian, Dr. Christelle Langley
  33. The Couple Checkup: Find Your Relationship Strengths
    The Couple Checkup: Find Your Relationship Strengths David H. Olson, Amy Olson-Sigg, Peter J. Larson
  34. FAIK: A Practical Guide to Living in a World of Deepfakes, Disinformation, and AI-Generated Deceptions
    FAIK: A Practical Guide to Living in a World of Deepfakes, Disinformation, and AI-Generated Deceptions Perry Carpenter
  35. Stop Playing Safe: How to be braver in your work, leadership and life
    Stop Playing Safe: How to be braver in your work, leadership and life Margie Warrell, PhD
  36. Everyday Genius: Hacks to Boost Your Memory, Focus, Problem-Solving, and Much More
    Everyday Genius: Hacks to Boost Your Memory, Focus, Problem-Solving, and Much More Nelson Dellis
  37. Never Too Late: Your Guide to Safer Sex After 60
    Never Too Late: Your Guide to Safer Sex After 60 Shannon Dowler
  38. Hustle, Flow, or Let It Go?: A Guide to Shame-Free Wellness That Honors Your Reality and Gives You Life
    Hustle, Flow, or Let It Go?: A Guide to Shame-Free Wellness That Honors Your Reality and Gives You Life Portia Preston, DrPH
  39. The Universal Timekeepers: Reconstructing History Atom by Atom
    The Universal Timekeepers: Reconstructing History Atom by Atom David J. Helfand
  40. The Opposite of Depression: What My Work with Suicidal Patients Has Taught Me about Life, Hope, and How to Flourish
    The Opposite of Depression: What My Work with Suicidal Patients Has Taught Me about Life, Hope, and How to Flourish David M. Carreon, MD
  41. Make Your Own Job: How the Entrepreneurial Work Ethic Exhausted America
    Make Your Own Job: How the Entrepreneurial Work Ethic Exhausted America Erik Baker
  42. Vaccines For Dummies
    Vaccines For Dummies Megan Coffee, MD, PhD, Sharon Perkins, RN
  43. The Empathy Advantage: Leading the Empowered Workforce
    The Empathy Advantage: Leading the Empowered Workforce Chris Shipley, Heather E. McGowan
  44. Psychopharmacology: Straight Talk on Mental Health Medications
    Psychopharmacology: Straight Talk on Mental Health Medications Joe Wegmann, RPh, LCSW
  45. Mastering Uncertainty: How Great Founders, Entrepreneurs, and Business Leaders Thrive in an Unpredictable World
    Mastering Uncertainty: How Great Founders, Entrepreneurs, and Business Leaders Thrive in an Unpredictable World Csaba Konkoly, Matt Watkinson
  46. Quack Quack: The Threat of Pseudoscience
    Quack Quack: The Threat of Pseudoscience Dr. Joe Schwarcz
  47. How To Talk To Robots: A Girls’ Guide To a Future Dominated by AI
    How To Talk To Robots: A Girls’ Guide To a Future Dominated by AI Tabitha Goldstaub
  48. Psychology: 50 Essential Ideas
    Psychology: 50 Essential Ideas Tom Collins, Emily Ralls
  49. Mindmasters (Gary Tiedmann narration): The Data-Driven Science of Predicting and Changing Human Behavior
    Mindmasters (Gary Tiedmann narration): The Data-Driven Science of Predicting and Changing Human Behavior Sandra Matz
  50. Frazzlebrain: Break Free from Anxiety, Anger, and Stress Using Advanced Discoveries in Neuropsychology
    Frazzlebrain: Break Free from Anxiety, Anger, and Stress Using Advanced Discoveries in Neuropsychology Gina Simmons Schneider, PhD
  51. From Conflict to Convergence: Coming Together to Solve Tough Problems
    From Conflict to Convergence: Coming Together to Solve Tough Problems Amanda Ripley, Robert Fersh, Mariah Levison
  52. The Client's Guide to Therapy: How to Get the Most Out of Your Counseling Experience
    The Client's Guide to Therapy: How to Get the Most Out of Your Counseling Experience Terri S. Watson, PsyD
  53. The Self and its Disorders
    The Self and its Disorders Shaun Gallagher
  54. Superpower: An Inspiring Story to Overcome Self-Doubt and Unleash Your Authentic Greatness
    Superpower: An Inspiring Story to Overcome Self-Doubt and Unleash Your Authentic Greatness Kate Leavell
  55. Master Your Relationship Anxiety
    Master Your Relationship Anxiety Georgie Collinson
  56. Elusive Cures: Why Neuroscience Hasn’t Solved Brain Disorders—and How We Can Change That
    Elusive Cures: Why Neuroscience Hasn’t Solved Brain Disorders—and How We Can Change That Nicole C. Rust
  57. Save Your Brain
    Save Your Brain Dr. Ginni Mansberg
  58. The Humor Habit: Rewire Your Brain to Stress Less, Laugh More, and Achieve More'er
    The Humor Habit: Rewire Your Brain to Stress Less, Laugh More, and Achieve More'er Paul Osincup
  59. AI And The Future of Education: Teaching in the age of Artificial Intelligence
    AI And The Future of Education: Teaching in the age of Artificial Intelligence Priten Shah
  60. The Resilience Dynamic: The simple, proven approach to high performance and wellbeing
    The Resilience Dynamic: The simple, proven approach to high performance and wellbeing Jenny Campbell
  61. You Can't Screw This Up: Why Eating Takeout, Enjoying Dessert, and Taking the Stress Out of Dieting Leads to Weight Loss That Lasts
    You Can't Screw This Up: Why Eating Takeout, Enjoying Dessert, and Taking the Stress Out of Dieting Leads to Weight Loss That Lasts Adam Bornstein
  62. Losing Me, While Losing You: Caregivers Share Their Experiences of Supporting Friends and Family with Dementia
    Losing Me, While Losing You: Caregivers Share Their Experiences of Supporting Friends and Family with Dementia Jeanette A. Auger, Diane Tedford-Litle, Brenda Wallace-Allen
  63. The Sage's Tao Te Ching, 20th Anniversary Edition: Ancient Advice for the Second Half of Life
    The Sage's Tao Te Ching, 20th Anniversary Edition: Ancient Advice for the Second Half of Life William Martin
  64. The Truth about Us: How We Fool Ourselves and How God Loves Us Anyway
    The Truth about Us: How We Fool Ourselves and How God Loves Us Anyway Brant Hansen
  65. Immersive Storytelling for Real and Imagined Worlds: A Writer's Guide
    Immersive Storytelling for Real and Imagined Worlds: A Writer's Guide Margaret Kerrison
  66. Finding Lights in a Dark Age: Sharing Land, Work and Craft
    Finding Lights in a Dark Age: Sharing Land, Work and Craft Chris Smaje
  67. The Power of Mattering: How Leaders Can Create a Culture of Significance
    The Power of Mattering: How Leaders Can Create a Culture of Significance Zach Mercurio
  68. Powerarchy: Understanding the Psychology of Oppression for Social Transformation
    Powerarchy: Understanding the Psychology of Oppression for Social Transformation Melanie Joy
  69. Stoic Ethics: The Basics
    Stoic Ethics: The Basics Brittany Polat, Christopher Gill
  70. She Who Wins: Ditch Your Inner “Good Girl”, Overcome Uncertainty, and Win At Your Life
    She Who Wins: Ditch Your Inner “Good Girl”, Overcome Uncertainty, and Win At Your Life Renee Bauer
  71. Good Enough Parenting: A Six-Point Plan for a Stronger Relationship With Your Child
    Good Enough Parenting: A Six-Point Plan for a Stronger Relationship With Your Child Dr. Timothy A. Cavell, PhD, Lauren B. Quetsch
  72. Rewired: Protecting Your Brain in the Digital Age
    Rewired: Protecting Your Brain in the Digital Age Carl D. Marci, MD
  73. Subjectified: Becoming a Sexual Subject
    Subjectified: Becoming a Sexual Subject Suzannah Weiss
  74. The Resilience Mindset: How Adversity Can Strengthen Individuals, Teams, and Leaders
    The Resilience Mindset: How Adversity Can Strengthen Individuals, Teams, and Leaders Terry Healey
  75. Our New Social Life: Science-Backed Strategies for Creating Meaningful Connection
    Our New Social Life: Science-Backed Strategies for Creating Meaningful Connection Jaime Kurtz, Natalie Kerr
  76. Four Days a Week: The Life-Changing Solution for Reducing Employee Stress, Improving Well-Being, and Working Smarter
    Four Days a Week: The Life-Changing Solution for Reducing Employee Stress, Improving Well-Being, and Working Smarter Juliet Schor
  77. Thinking at the Speed of Bias: How to Shift Our Unconscious Filters
    Thinking at the Speed of Bias: How to Shift Our Unconscious Filters Sara Taylor
  78. Hope Circuits: Rewiring Universities and Other Organizations for Human Flourishing
    Hope Circuits: Rewiring Universities and Other Organizations for Human Flourishing Jessica Riddell
  79. Affective Neuroscience: The Foundations of Human and Animal Emotions
    Affective Neuroscience: The Foundations of Human and Animal Emotions Jaak Panksepp
  80. The Mindfulness and Acceptance Workbook for Anxiety, Fully Revised & Updated Third Edition: A Guide to Breaking Free from Anxiety, Phobias, and Worry Using Acceptance and Commitment Therapy
    The Mindfulness and Acceptance Workbook for Anxiety, Fully Revised & Updated Third Edition: A Guide to Breaking Free from Anxiety, Phobias, and Worry Using Acceptance and Commitment Therapy Georg H. Eifert, PhD, John P. Forsyth, PhD
  81. How to Become Famous: Lost Einsteins, Forgotten Superstars, and How the Beatles Came to Be
    How to Become Famous: Lost Einsteins, Forgotten Superstars, and How the Beatles Came to Be Cass R. Sunstein
  82. Expressly Human: Decoding The Language of Emotion
    Expressly Human: Decoding The Language of Emotion Mark Changizi, Tim Barber
  83. Friendship: The Evolution, Biology and Extraordinary Power of Life’s Fundamental Bond
    Friendship: The Evolution, Biology and Extraordinary Power of Life’s Fundamental Bond Lydia Denworth
  84. The Art of Change: Transforming Paradoxes into Breakthroughs
    The Art of Change: Transforming Paradoxes into Breakthroughs Jeff DeGraff, Staney DeGraff
  85. The Art of Thinking: How the Great Philosophers Can Stimulate Our Ability to Think Critically
    The Art of Thinking: How the Great Philosophers Can Stimulate Our Ability to Think Critically José Carlos Ruiz
  86. Head, Heart, and Hands Listening in Coach Practice: The Listening Coach
    Head, Heart, and Hands Listening in Coach Practice: The Listening Coach Kymberly Dakin-Neal
  87. Not Done Yet: Reaching and Keeping Unchurched Emerging Adults
    Not Done Yet: Reaching and Keeping Unchurched Emerging Adults Beth Seversen
  88. How to Speak Science: Gravity, Relativity, and Other Ideas That Were Crazy until Proven Brilliant
    How to Speak Science: Gravity, Relativity, and Other Ideas That Were Crazy until Proven Brilliant Bruce Benamran
  89. AI in the Writing Workshop: Finding the Write Balance
    AI in the Writing Workshop: Finding the Write Balance Dennis Magliozzi, Kristina Peterson
  90. The Neuroscience of Excellent Sleep
    The Neuroscience of Excellent Sleep Stan Rodski
  91. The Immunity Solution: Seven Weeks to Living Healthier and Longer
    The Immunity Solution: Seven Weeks to Living Healthier and Longer Leo Nissola
  92. Choosing Cheer: Experiencing the Joy of Jesus in the Everyday and Unimaginable
    Choosing Cheer: Experiencing the Joy of Jesus in the Everyday and Unimaginable Nicolet Bell
  93. A Poison Like No Other: How Microplastics Corrupted Our Planet and Our Bodies
    A Poison Like No Other: How Microplastics Corrupted Our Planet and Our Bodies Matt Simon
  94. What It's Like to Be a Bird: From Flying to Nesting, Eating to Singing--What Birds Are Doing, and Why
    What It's Like to Be a Bird: From Flying to Nesting, Eating to Singing--What Birds Are Doing, and Why David Allen Sibley
  95. Chingona: Owning Your Inner Badass for Healing and Justice
    Chingona: Owning Your Inner Badass for Healing and Justice Alma Zaragoza-Petty

Features:

  • Over 950 000 titles

  • Kids Mode (child safe environment)

  • Download books for offline access

  • Cancel anytime

Most popular

Unlimited

For those who want to listen and read without limits.

S$12.98 /month

  • 1 account

  • Unlimited Access

  • Unlimited listening

  • Cancel anytime

Try now