|
|
|
|
|
by jff
4628 days ago
|
|
Yep... although if you look at that, it's just lining up based on tabs. I like gofmt because it barely ends up changing my code--I already write it pretty much like that! I was talking more about when people want to do things like this: func someFunc(arg1 string,
arg2 string,
arg3 int,
) bool
{
and get very angry when the arguments don't line up perfectly under each other using just tabs. And, presumably, that Go won't let you put that { on the next line like that.When I tell these people I often use an editor with variable-width fonts, it damn near gives them an aneurysm. |
|