I just left my basement and I learned that people outside use something else that one- and three-character variable names. Is this true and widespread practice?
Name:
Anonymous2009-06-15 13:35
No. EXPERT PROGRAMMERS use only one letter variable names. Extra points if the characters are non-standard in the English language and require multiple keypresses or a special keyboard to produce.
>>5
Why no, no I don't believe I have. Thank you for asking!
Name:
Anonymous2009-06-15 21:35
In javascript, it's fairly standard practice to alias long-winded function names: Along the lines of other frameworks such as jQuery or Prototype, shortening the "querySelector" name can be convenient.[1]
function $ (selector, el) {
if (!el) {el = document;}
return el.querySelector(selector);
}
function $$ (selector, el) {
if (!el) {el = document;}
return el.querySelectorAll(selector);
}
alert($('#myID').id;
____ [1]https://developer.mozilla.org/En/Code_snippets/QuerySelector
Name:
Anonymous2009-06-15 21:54
variables should be named so as to provide a hidden message from top to bottom
i.e
int ha = 11;
int xma = 12;
char nus = 99;
etc.
Name:
Anonymous2009-06-15 22:00
I name all my variables in 8.3 format.
Name:
Anonymous2009-06-15 22:54
I try to name my variables so it's easier for people to understand my code. but then again I am a FIOC fag
I try to name my variables so it's as hard as possible for people to understand my code. but then again I am a Perl fag, so nobody would understand it even with $longAndDescriptiveVariableNames
Why have separate variables, when you can just have one large array? If I need floating point numbers I split them up into nice Int sized chunks and store them sequentially.
Name:
Anonymous2009-06-16 9:10
>>14
I love it! I'm going to start doing that right now!
Name:
Anonymous2009-06-16 9:37
>>1 I just left my basement and I learned that people outside use something else that one- and three-character variable names. Is this true and widespread practice?
Hi, OP! Yes, you are right, me and my imaginary friends use two-character variable names most often, so yes, it's widespread practice.
Name:
Anonymous2009-06-16 13:37
Real languages like Java allows the use of Unicode variable names.