this post was submitted on 23 Feb 2024
1 points (100.0% liked)

pissposting

1097 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
[โ€“] [email protected] 0 points 6 months ago (1 children)

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.

[โ€“] [email protected] 0 points 6 months ago

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.