| ▲ | christophilus 2 hours ago | |
This is the job of a tool like go fmt. Obviously, it’s good discipline to indent, but I wouldn’t choose this as the deciding factor for picking a first programming language. | ||
| ▲ | eddieroger an hour ago | parent | next [-] | |
Formatters and linters fix the mistakes made by people who know what they're doing. They do nothing to teach someone how to do something for the first time in a way that supports comprehension, only regurgitation. | ||
| ▲ | Wowfunhappy 2 hours ago | parent | prev [-] | |
go fmt can fix #1, but not #2, and won't work if #2 is causing problems. | ||