3 ms·
Disclaimer: This comment is mostly in jest. For a second there I thought i was reading about golang[1]. * Single letter var names[2] / [3] * Underscores [4]
by maerF0x0 8y ago
Disclaimer: This comment is mostly in jest.
For a second there I thought i was reading about golang[1].
* Single letter var names[2] / [3]
* Underscores [4] / [5]
* extended ascii code [6] / [7]
[1]https://golang.org/doc/effective_go.html https://golang.org/doc/effective_go.html
[2] https://github.com/Droogans/unmaintainable-code#single-letter-variable-names https://github.com/Droogans/unmaintainable-code#single-lette...
[3] https://github.com/golang/go/wiki/CodeReviewComments#variable-names https://github.com/golang/go/wiki/CodeReviewComments#variabl...
[4] https://github.com/Droogans/unmaintainable-code#underscore-a-friend-indeed https://github.com/Droogans/unmaintainable-code#underscore-a...
[5] https://golang.org/doc/effective_go.html#blank https://golang.org/doc/effective_go.html#blank
[6] https://github.com/Droogans/unmaintainable-code#extended-ascii https://github.com/Droogans/unmaintainable-code#extended-asc...
[7] https://golang.org/ref/spec#Source_code_representation https://golang.org/ref/spec#Source_code_representation
- marcosdumay 8y ago> Single letter var names They are also a Haskellers favorite. There's a non-sarcastic paper running on the internet named something like "descriptive variable names considered harmful". Most of the community agrees with it, including me.
- Hirak 8y ago> Single letter var names There are tons of those in Android framework code as well
- therealdrag0 8y agoWhy are they harmful?
- ppeetteerr 8y agoOh man, any time I read example Go code it always reminds me of code from the 80s/90s. Probably written by the same crowd too.