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."