News for hackers. Stuff that matters.
Re:MongoDB singleton connection in Node.Js by nbevans on Friday April 05, 2013 @06:49PM (#5501532)
If my comment can teach you one thing it's that you need to learn IoC/DI, lifetime management and stop using the antipatten that is the singleton. It's a pattern that only makes sense on a hack day and nothing more. HN has a low brow audience if my comment has seriously earnt a -4 vote.

There are no comments on this comment yet.