Code is meant to be read by others, and it's a very information-dense medium. So write your code like you'd write a book or an article, *not* like a telegram or a SMS circa 2005. Spell out those variable names. No one-letter variables or weird abbreviations, please.
-
-
And yes, obviously, using i as index in a loop or using the abbreviation num_* is completely fine. The question is not "is the variable name a full word", it's "is it understandable by everyone reading the code". In m cs s var nm ct b intp. Please use common sense.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I'm thinking of upgrading to Nokia 3310, done with coding on my pager!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I’ll change it when it breaks
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Or unless you're coding in APL. <Shudder>
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Had to send code samples to my colleagues in older times. I know the pain.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Ah, that good ol' T9 on my 3310...when one could send a txt w/o looking at the keys, play snake with 3 & 7
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

