This could be the opening line in a high school textbook for a course on how to use the Internet
This could be the opening line in a high school textbook for a course on how to use the Internet
I prefer index variable names that are two words. The second word is always ‘index’ and the first word describes the enumerable objects. carIndex, productIndex, thingIndex
I’m not paid by the character count. Longer and more descriptive is better. Long lines that go past your 1080p monitor are probably not long because of variable names but because you insist on doing many things in one line (quit doin’ that). For small functions this isn’t necessary, but too often I’m shunted to the middle of a big function with two or three indecies doing acrobatics over one another and while working on it I have to constantly remind myself that this i and j mean particular things.
I know it’s not consistent but I read them like zsh = zee shell, ssh I spell out “s s h”, sudo I say /ˈsuː.doʊ/. or “soo dough”