Skip to Main Content
The Rules of Programming
book

The Rules of Programming

by Chris Zimmerman
December 2022
Beginner content levelBeginner
343 pages
7h 36m
English
O'Reilly Media, Inc.
Audiobook available
Content preview from The Rules of Programming

Rule 15. Pull the Weeds

When my daughters were young, we had a Nintendo GameCube. It turns out that one side effect of having a dad who makes video games for a living is that your house is fully equipped with every single video game console. My children did not realize until much later that not everyone’s house was like this.

Our favorite game was Animal Crossing, a game in which the three of us shared a small village filled with anthropomorphized animals. You could do all kinds of things in the village—dig for fossils, design new clothes, decorate your house, gather seashells, go fishing, make friends with the animals who lived in the town, or just kick back and listen to KK Slider play his guitar.

One of the things you sort of needed to do in Animal Crossing was pull weeds. Every night, a few weeds would pop up in your village, whether you’d played the game that day or not. Pulling weeds was easy—run over to the weed, push a button, and pop! The weed’s out of the ground. But you needed to keep up. The weeds kept growing whether you pulled them or not. The weeds even grew on days you didn’t play the game! If you stopped pulling weeds, the weeds took over.

They’re still making Animal Crossing games 20 years later. Tens of millions of people have played some iteration of the game, and every single one has had the same experience—you come back to the tidy little village you’ve worked so hard on after a few weeks away, and it’s completely overgrown with weeds. Twenty years later, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Programmer's Brain

The Programmer's Brain

Felienne Hermans
Design It!

Design It!

Michael Keeling
The Art of Clean Code

The Art of Clean Code

Christian Mayer

Publisher Resources

ISBN: 9781098133108Errata PageSupplemental Content