News for hackers. Stuff that matters.
Re:If you're using Node.js, you're doing life wrong by batista on Friday February 03, 2012 @02:36PM (#3548518)
Languages require different design principles. If you're calling JavaScript "spaghetti code", then you're doing it wrong.

He's calling node style callbacks spaghetti code. Which it is, and it's a known problem, and there are several half-baked solutions for it.

Re:If you're using Node.js, you're doing life wrong by crcn on Friday February 03, 2012 @03:44PM (#3548892)
Node.js isn't picking up a new paradigm. The issue is very present in JavaScript, and it's easy to write spaghetti code since the language by itself doesn't offer much structure. It's possible to write very clean JavaScript / Node.js code, but it takes a different approach over how you design / develop apps versus a class-based language.