4 ms·
I’m referring to this guideline: > Variable names in Go should be short rather than long. This is especially true for local variables with limited scope. Prefe
by speedgoose 3y ago
I’m referring to this guideline:
> Variable names in Go should be short rather than long. This is especially true for local variables with limited scope. Prefer c to lineCount. Prefer i to sliceIndex.
https://github.com/golang/go/wiki/CodeReviewComments#variable-names https://github.com/golang/go/wiki/CodeReviewComments#variabl...
- imtringued 3y agoOne of those is not like the other... lineCount is literally perfect meanwhile sliceIndex could be anything.
- deleted 3y ago[deleted]