Join Nostr
2025-10-29 21:59:27 UTC

cliffle on Nostr: Well! I've definitely seen my share of "idiosyncratic" C styles omitting braces and ...

Well! I've definitely seen my share of "idiosyncratic" C styles omitting braces and exploiting corner cases in 30+ years of having to read other peoples' C code, but this is a new one.

I had not thought about what would happen if you left the braces off a switch. Because, of course, doing so would be utterly unhinged.

I give you: the world's most obtuse version of "if (x == A || x == b)", indistinguishable from an editing mistake.