I hope that you don’t sail smoothly through all 21 Rules.
If you find yourself politely nodding along with each of the Rules and the examples I use—“Oh yes, that makes sense, this example is familiar, I’ve had this thought before, I just used different language to describe it”—well, that’s a failure.
I hope I’ll give you things to think about. A new insight or two, ideally. Maybe I’ll be able to put a name to a vague feeling you’ve had, or give you a crisp example of something you’ve been unable to nail down. Maybe I’ll even give you something entirely new to consider.
But it’s also likely that you’ll run into one or two ideas that you disagree with. You might think I’m entirely wrong about something—that one of the Rules is bad advice.
That’s great! Finding a Rule you strongly disagree with is an opportunity. Rejecting it immediately and reflexively would be a mistake.
I promise that the Rule in question isn’t entirely wrong—but it may be right for us while simultaneously being wrong for you . Understanding why this is will help you understand and strengthen your own programming philosophy. It means understanding the differences between Sucker Punch and your own team, because those differences are what make a Rule an important part of our culture but a poor match for yours. The Rules use examples from the video games we’ve built at Sucker Punch, which should illuminate some of the things that make video game programming different. Many of the rest are addressed in the last chapter, “Conclusion: Making the Rules Your Own” .
Here’s the reconciliation process I’ve found helpful when I’ve run into some statement of coding philosophy discordant with my experience:
-
Find the truth in the statement, not just the flaws. I may disagree with the statement, but that’s likely because of my own assumptions. What are the circumstances under which the statement would be true?
-
Work the problem from the other side, too. What are the circumstances under which my own contrary view on the statement would be false? What’s the difference in circumstances that changes the truthfulness of the statement?
-
Be mindful that circumstances change. The statement might be wrong for you now, but right for you on your next project. You’ve identified a situation where your philosophy would need to change; be alert to the possibility that you’ve wandered into exactly that situation.
I’ve gone through this process many times. Here’s an example: test-driven development (TDD). It’s discordant with our experience at Sucker Punch; still, the truth in it is obvious to us. You’ll see references in the Rules to the ways in which our circumstances make TDD an awkward fit, but we know that those circumstances might change. We’re watchful; if things change, so will our philosophy .
So I hope that you find value in the Rules you find most objectionable…but I understand if you choose to follow a different course of action, one credited to Dorothy Parker:
This is not a novel to be tossed aside lightly. It should be thrown with great force.
If so, I suggest aiming for something soft.