3 ms·
I really hate dealing with short variable names. A recent project I came across a variable sfile. In some cases it meant the filename, in others it meant the fi
by sixothree 14y ago
I really hate dealing with short variable names. A recent project I came across a variable sfile. In some cases it meant the filename, in others it meant the file contents. I wanted to kill.
- theorique 14y agoIt's a rotten idea to overload or reuse a variable name, unless it's obvious from context (e.g. i is the loop index for a variety of different loops).