2 ms·
Copying docs like this as idiomatic code seems problematic in any language. The docs have no clue what your domain is and couldn't give a sensible name for a v
by bcrosby95 2y ago
Copying docs like this as idiomatic code seems problematic in any language. The docs have no clue what your domain is and couldn't give a sensible name for a variable in it.
For example, lets look at "string". Most examples are gonna just call it a "str" or even "s". But if what you have is someone's name you should get called out for calling it a "str" rather than "name".
You shouldn't name all your mathy variables x, y, i, j.
You shouldn't name your channels "chan" or "c". Unless its just generic channel code.
I don't mind short domain variable names. But "chan" isn't that. It's like calling all your ints "num" or all your strings "str".