News for hackers. Stuff that matters.
Re:Formatting code should be unnecessary by zahlman on Monday September 08, 2025 @10:17AM (#45168621)
> Also, my OCD hates inconsistency

Mine hates trailing commas :)

More seriously, I don't like having lists like that in the code in the first place. I don't want multiple lines taken up for just constant values, and if it turns out to require maintenance then the data should be in a config file instead anyway.

Re:Formatting code should be unnecessary by whizzter on Monday September 08, 2025 @01:24PM (#45171072)
Rule of 3, write/change it once or twice (or seldomly enough with no possible negative impact) and it doesn't need any complexity. More than so.. yeah probably goes into a config.
Re:Formatting code should be unnecessary by Revisional_Sin on Monday September 08, 2025 @01:42PM (#45171342)
Constants in the code are easier to navigate to than config files.