Joined November 2012
·
Achievements
323 Karma
62,338 Total ProTip Views

Honey Badger
Have at least one original Node.js-specific repo

Altruist
Increase developer well-being by sharing at least 20 open source projects

Nephila Komaci 3
Have at least three original repos where PHP is the dominant language

24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2013

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language

Raven
Have at least one original repo where some form of shell script is the dominant language

Epidexipteryx
Have at least one original repo where C++ is the dominant language
Thanks @steve-jansen!
Instead of adding an argument for the callback function, wouldn't it make more sense to return the value in a try...catch block? For example:
You're completely right, I'm a UI dev and I've only ever used Javascript in the browser – it just seems like adding callback arguments to NodeJS methods adds cruft to methods that could easily be implemented with native functionality. Thanks for taking the time to help me understand!