2 ms·
I Can't Go Anymore
- daviddever23box 4y agoGolang 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.
- numilani 4y agosure, 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.
- daviddever23box 4y agoBy 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.