Joined November 2012
·
Ayyylmao

Christian Bundy

Madison Ave Collective
Madison Ave Collective
·
Chicago, IL
·
·
·

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:

try {
  console.log(zlib.gzip('Hello, world!'));
} catch (e) {
  throw e;
}

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!

Posted to Homebrew's new feature: Brewfiles over 1 year ago

Awesome, I'm glad you found a use for my contribution to Homebrew! You can also use directory-specific bundling with:

brew bundle ~/GitHub/dotfiles/

and Homebrew will automatically grab your Brewfile. Let me know if you have any ideas for future features, I'd love to hear your input.

Achievements
323 Karma
35,351 Total ProTip Views