|
|
|
|
|
by carb
954 days ago
|
|
I have never seen this done in enterprise Go code, and I don't think it's been strongly recommended since the mid 2010's? For small functions where you can see everything in a single page, this is fine. Though I think they should always be avoided except the most common cases (`i` for index) because keeping a codebase grep-able is a high priority. Using constant, verbose variable names can make tracing through a codebase much easier. |
|