News for hackers. Stuff that matters.
Re:Node.js Best Practices by jkrems on Friday September 19, 2014 @10:21PM (#8343472)
It's not about "making a mistake", it's about cases where you'd want to create objects but using `new` would be awkward. E.g. `myListOfRawData.map(MyConstructor)` when you unmarshal data. Sure, you could create an anonymous function that calls new. But it's easier to create higher level functions and tools when the new is optional.

There are no comments on this comment yet.