FOUR SPACES.FIRM PRINCIPLES.
Spaces.
“Your entire philosophy depends on someone else’s editor settings.”
A friendly feud over how far to move right.
Pick a side. Enjoy the argument.
FOUR SPACES.“Your entire philosophy depends on someone else’s editor settings.”
ONE KEY.“You pressed four keys to make that point. I rest my case.”
Neither participant has shipped anything during this argument.
OPENING EXCHANGEAll exchanges are written, playful, and aimed at formatting preferences.Personal attacks: out of bounds. Personal space: disputed.
Who’s standing with whom. Every supporter counts equally.
Verified coffee support attributed to each side. Coffee is optional.
Faction statements. Dubious victories.
An increasingly tired referee.
Predictable alignment. Explicit characters.
A consistent shape, wherever your code lands.
// four spaces per level
function keepItReadable() {
if (team.isKind) {
shipSomethingGood();
}
}Structure in the file. Width in the editor.
One character, a little freedom of expression.
// one tab per level
function keepItReadable() {
if (team.isKind) {
shipSomethingGood();
}
}Use your team’s formatter. Be kind in code review. Ship something.
*In a friendly, entirely optional way.