i
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
foo, bar and especially fubar.
--
LOL. Fubar means Fucked Up Beyond All Repair. And yes, it came from world war II.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
wazzaaaaaah
(mostly used for debugging :-)
.... I'm almost embarassed about admitting that.
dada is fast to type
BOOGERS and in caps to imply a constant.
--
Bringing game to younix
Bust0ut Entertainment ---
PBDefence.com
"Finding the exit without looking"
Anyway, while arguing e.. vim vs Emacs is utter useless, I like
listings like this, because it highlights more alternatives to the
most used ones.
On Mon, Dec 19, 2011 at 6:04 AM, Rob Koberg <r...@koberg.com> wrote:
> uff
>
Am 20.12.11 03:32, schrieb Robert Steckroth:
var execute_child = require('child_process').fork('./execute');
On Mon, Dec 19, 2011 at 12:20 PM, Angel Java Lopez
The length of a variable's name should be inversely proportional to
the distance between its definition and use. If it's used very close
to its definition, there's no need for a long name, since you can just
look up a few lines and see what it is.
Its descriptiveness should be inversely proportional to its frequency
and obviousness. High frequency or high obviousness, be more terse.
Low frequency or low obviousness, be more verbose.
Examples:
* A global you define in a .h file and then use once in a while: High
distance from creation to use, low frequency, probably low
obviousness. Go nuts. All caps, multiple words, super descriptive.
* A loop counter: low distance, high frequency, high obviousness.
Please use a single char. It probably doesn't even matter which one.
Super annoying:
for (var indexOfTheListOfTheThings = 0, numberOfThingsInTheList =
theListOfTheThings.length; indexOfTheListOfTheThings <
numberOfThingsInTheList; indexOfTheKillMeNowPleaseOMG++) ...
This is much more obvious:
for (var i = 0, l = things.length; i < l; i ++) {
doSomething(things[i])
}
Don't forget: the goal is to win, not to prove that some rule is perfect.