Style wars Memes

Posts tagged with Style wars

There Are Two Kinds Of Programmers

There Are Two Kinds Of Programmers
The eternal civil war of code formatting! On the red side: the chaotic rebel who puts opening braces on the same line as the function declaration. On the blue side: the structured purist who insists the opening brace deserves its own dedicated line. This syntactical holy war has crashed more team meetings than null pointer exceptions. The tabs vs. spaces debate might have siblings now, but this brace placement battle has been dividing dev teams since K&R style faced off against Allman style in the coding thunderdome. Your IDE's auto-formatter is the only thing preventing actual bloodshed at this point.

Just Another War Crime

Just Another War Crime
Ah, the Egyptian bracket style. The sacred hieroglyphics of coding that make senior developers contemplate career changes. The tweet starts reasonably: "Use whatever brace style you prefer." Sure, K&R, Allman, whatever floats your boat. But then it shows that monstrosity - opening braces on the same line as code but closing braces aligned with the opening statement. Whoever created this abomination clearly enjoys watching the world burn. It's like they're actively trying to get banned from code reviews. The recursive permutation function is just the cherry on top of this crime against humanity. Ten years of maintaining this code and you'd be googling "how to change careers to goat farming."