4 ms·
Personally, I think this makes it unclear what the code actually does--IMHO, forgetting `new` is not a real concern. I generally just add a `create` method to
by vkjv 12y ago
Personally, I think this makes it unclear what the code actually does--IMHO, forgetting `new` is not a real concern.
I generally just add a `create` method to the prototype so that you can do things like, `_.map(items, Constructor.create)`
- mattdesl 12y agoThe issue has very little to do with forgetting "new" and more to do with hiding implementation details and improving module composability.