this post was submitted on 23 Feb 2024
130 points (92.8% liked)
pissposting
1179 readers
1 users here now
Piss tier memes, lower than shitposts. Brain damaging stuff.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just run with the default style of the de-facto formatter for whatever language you are using. It's really not worth any mental effort.
This is true, but it also moves the discussion to which is the superior code for matter for languages that don't have a clear default option, and of course to which languages have the best formatters.
I have a hard stance in this question - code formatters should be deterministic on any given syntax tree - there should be no leeway for choosing how any given piece of code formats. Seriously. If your anti-bikeshedding tool does not completely eliminate the bikeshedding, you have not done your job correctly.
But it's fun to argue over