News for hackers. Stuff that matters.
Re:CoffeeScript One Liners by btipling on Thursday June 02, 2011 @09:18AM (#2611836)
>" this is only acceptable for application start-up routines"

You gonna come spank me if I do it synchronously and it works for me? I hate when people are so forceful with their opinions.

Re:CoffeeScript One Liners by ricardobeat on Thursday June 02, 2011 @09:49AM (#2611934)
It's not just an opinion, blocking your event loop will halt the world in nodejs.

Now give me your address, please.

Re:CoffeeScript One Liners by thenduks on Thursday June 02, 2011 @03:26PM (#2613523)
Yea, he means acceptable from a performance standpoint since in node the event loop will just stop and wait for that to finish before doing anything else. http://nodejs.org/#about

The `*Sync` methods are really only there for convenience sake, so you don't end up with 'banana code' around your whole app because of your initialization (reading config files, etc).