DEV Community

loading...

Discussion on: Those silly mistakes we all make

Collapse
davshoward profile image
Davs Howard

I just avoid 'i' entirely now. Go for something like x, y, z if required ;-)

Thread Thread
philnash profile image
Phil Nash Author

No more single letter variable names! What is this, degree level mathematics?

Wait, are you all Haskell programmers?

Thread Thread
davshoward profile image
Davs Howard

If it's used as a counter in a for loop I don't see an issue with it.

Thread Thread
ludamillion profile image
Luke Inglis

Personally I learned to program with C (and LISP) and sometimes my Javascript still sinks back towards into the C.