News for hackers. Stuff that matters.
Re:Node.js Best Practices by manyxcxi on Friday September 19, 2014 @04:38PM (#8342371)
I interpret 'Avoid closures' as just don't define a function within your function. Private functions are simply functions that haven't been exported and aren't really closures (if we're talking about using a module pattern, at least).

Excessive closures can lead to memory leaks. Anonymous closures are a PITA when debugging.

There are no comments on this comment yet.