3 ms·
Very fun article to read! There's one catch: Go styleguides strongly recommend short variable names. They do have a whole chapter about single/double letter var
by matly 2y ago
Very fun article to read!
There's one catch: Go styleguides strongly recommend short variable names.
They do have a whole chapter about single/double letter vars [1] which boils down to:
They have their place, as receiver variables and in any place where the short name would be too repetitive.
1: https://google.github.io/styleguide/go/decisions.html https://google.github.io/styleguide/go/decisions.html