Re:Profiling Go Applications with Flamegraphs
by table-delete on Monday March 12, 2018 @03:36AM
(#16566677)
There's a great rule of thumb coined by Andrew Gerrand: "The greater the distance between a name's declaration and its uses, the longer the name should be." [1]
There's no reason to use any more than a single character for a loop variable. Who cares how old the convention is?
There's no reason to use any more than a single character for a loop variable. Who cares how old the convention is?
[1] https://talks.golang.org/2014/names.slide