Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Variable names

Name: Anonymous 2009-06-15 13:32

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: Anonymous 2009-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.

Name: Anonymous 2009-06-15 14:00

>>2
you dick!

Name: Anonymous 2009-06-15 14:34

Actually, variable names should be anywhere between 7 and 15 characters.[1]

___
[1] - McConnell, Steve; "Code Complete, A Practical Handbook of Software Construction"; Microsoft Press; 2nd edition (July 7, 2004)

Name: Anonymous 2009-06-15 16:38

>>2
                           _______________________
                   /|  /|     |                     |
                   ||__||     |    HAVE YOU BEEN    |
                  /   O O\__  |   TROLLED TODAY?    |
                 /          \ |                     |
                /      \     \|_____________________|
               /   _    \     \      ||             
              /    |\____\     \     ||             
             /     | | | |\____/     ||             
            /       \|_|_|/   |     _||             
           /  /  \            |____| ||             
          /   |   |           |      --|            
          |   |   |           |____  --|            
   * _    |  |_|_|_|          |     \-/             
*-- _--\ _ \                  |      ||             
  /  _     \\        |        /      `              
*  /   \_ /- |       |       |                      
  *      ___ c_c_c_C/ \C_c_c_c____________          

Name: Anonymous 2009-06-15 19:27

>>5
Why no, no I don't believe I have. Thank you for asking!

Name: Anonymous 2009-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: Anonymous 2009-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: Anonymous 2009-06-15 22:00

I name all my variables in 8.3 format.

Name: Anonymous 2009-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

Name: Anonymous 2009-06-15 23:15

>>8
hax manus? Your hand to hax?

Name: Anonymous 2009-06-16 3:31

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

Name: Anonymous 2009-06-16 3:53

>>12
$longAndDescriptiveVariableNames make code harder to understand anyway, so there's not really a conflict.

Name: Anonymous 2009-06-16 4:10

One time I wrote a PHP script where I made the variable names ridiculous using wide characters, as in

$open_dir(”what”);=open_dir("what");

Name: Anonymous 2009-06-16 6:30

>>14
LOL, THAT WAS SO COOL!

Name: Anonymous 2009-06-16 6:34

i use eax, ebx, ecx, edx.

Name: Anonymous 2009-06-16 6:58

i use esp and ebp.
that's just how hardcore i am.

Name: Anonymous 2009-06-16 7:08

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: Anonymous 2009-06-16 9:10

>>14
I love it! I'm going to start doing that right now!

Name: Anonymous 2009-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: Anonymous 2009-06-16 13:37

Real languages like Java allows the use of Unicode variable names.

Name: Anonymous 2009-06-16 13:51

all functions should be anonymous

Name: Anonymous 2009-06-16 14:04

>>21
Java is hardly the only one to offer that. Also, it's not 66real99.

Name: Anonymous 2009-06-16 14:51

>>23
Expert Quoting

Name: Anonymous 2009-06-16 16:19

new 66meme99

Name: Anonymous 2009-06-16 16:22

>>23
Are you aware that your quotes are 6s and 9s?

Name: Anonymous 2009-06-16 16:33

`èxpert quoteś´

Name: Anonymous 2009-06-16 17:03

Please use ⁶⁶real superscript⁹⁹.

Name: Anonymous 2009-06-16 18:59

I am testing 66quotes[i]99

Name: Anonymous 2009-06-16 18:59

I am testing 66quotes99

Name: Anonymous 2009-06-16 19:53

I am testing ``quotes''

Name: Anonymous 2009-06-16 20:12

``66Quotes99''

Name: Anonymous 2009-06-16 22:08

>>27
I am now a user and passionate supporter of `èxpert overlapping quoteś´.

Name: Anonymous 2009-06-16 22:25

>>33
Try quoting japanese text with that, ``チェリーボーイ''!

Name: Anonymous 2009-06-16 22:41

99"GRUNNUR" quotes66 are superior.

Name: Anonymous 2009-06-16 22:50

>>34
「That's just silly!」

Name: Anonymous 2009-06-17 5:58

>>34
Cherryboy...?

Name: Anonymous 2009-06-17 6:21

>>37
Baddass gangsta virgins for life, dawg.

Name: Anonymous 2009-06-17 8:18

>>34
Looks like someone just found out how to type moonspeak.

Name: Anonymous 2009-06-17 11:13

>>39
Looks like someone just found out how to type sage.

Name: Anonymous 2010-11-27 18:59

Name: Anonymous 2013-06-16 14:01

Name: Anonymous 2013-06-16 14:40

Bump

Name: Anonymous 2013-06-16 17:46

ʿʿThese quotesʾʾ have an aesthetic charm about them like no other.

Name: Anonymous 2013-06-16 18:30

HEUEHEUEUE

Name: Anonymous 2013-06-16 18:31

HEUEHEUEUE

Name: Anonymous 2013-06-16 18:31

HEUEHEUEUE

Name: Anonymous 2013-06-16 18:31

HEUEHEUEUE

Name: Anonymous 2013-06-16 18:31

HEUEHEUEUE

Name: Anonymous 2013-06-16 18:32

HEUEHEUEUE

Name: Anonymous 2013-06-17 20:31

Name: Anonymous 2013-06-17 20:37


Don't change these.
Name: Email:
Entire Thread Thread List