2 ms·
Personally the worst variable name I have seen was in the line: boolean alanIsABastard = true; Where I am the Alan in question and this was written by someone
by arethuza 15y ago
Personally the worst variable name I have seen was in the line:
boolean alanIsABastard = true;
Where I am the Alan in question and this was written by someone who worked for me. :-)
- Achshar 15y agothis is what source control is for, right?
- evincarofautumn 15y agoWell, there is always the unpleasant possibility that the person writing that code had a legitimate reason to call you a bastard. Perhaps you were seen as inconsiderate, or he was having a bad day where everyone seemed like a bastard and you were the nearest target.
- thebigshane 15y agoI am curious on the usage of this variable or was it never referenced afterwards? Perhaps the author sets it to false later symbolizing some sort of transformation you went through or at least a change in his perception of you. Perhaps it was in a "bipolar" loop: while (true): sleep(1000 * 60 * 24) alanIsABastard = !alanIsABastard
- arethuza 15y agoI must admit that I never considered this point in any great depth. Perhaps it should have been a constant (and it was Java): public static final boolean ALAN_IS_A_BASTARD = true;