I use pluses without a space so it is quite readable. +a means parseInt. + a means there is concatenation or addition going on somewhere. It is quite intuitive.
On Tue, Feb 21, 2012 at 5:56 PM, Marcel Laverdet <[email protected]>wrote: > Yeah it's identical to prefix +, just more "english" and doesn't blend in > with string concatenation. It's totally a matter of preference. I > personally find that while writing software I'm rarely blocked by raw > typing speed so I use Number() because it makes +'s less ambiguous when I'm > reading my code later. > > On Tue, Feb 21, 2012 at 7:46 PM, Mark Hahn <[email protected]> wrote: > >> > I just use Number() >> >> Doesn't + do the same thing? I'm a lazy typist. >> >> -- >> 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 [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
