News for hackers. Stuff that matters.
Re:I Can't Go Anymore by daviddever23box on Saturday October 15, 2022 @10:14PM (#33220503)
Golang provides automatic formatting via go fmt: that would take care of bracket-else alignment in one operation.

Never mistake a badly-designed plane for pilot inexperience.

Re:I Can't Go Anymore by numilani on Saturday October 15, 2022 @10:41PM (#33220601)
sure, that takes care of it once...but now the next time I go to work on that section of code, the else is back where I don't want it.

The issue isn't the lack of a formatter, the issue is that some things should be left to preference rather than strictly enforced.

Re:I Can't Go Anymore by daviddever23box on Monday October 17, 2022 @02:29AM (#33230363)
By removing the arbitrary preferences from code formatting, one can focus on the substance of the code itself, and not its accidental decoration; in the case of generated code, for example, this can be quite beneficial.