News for hackers. Stuff that matters.
Re:Case study: How & why to build consumer apps with Node.js by tomjen3 on Sunday January 08, 2012 @06:28AM (#3439346)
I too hate Javascript, but mostly because it is not a language suited to go above a few houndred lines of code -- it is awesome to quickly add some interaction to a website.

That said, Node.js is really well designed. I just wish it was done with some other less dynamic language.

Re:Case study: How & why to build consumer apps with Node.js by LocalPCGuy on Sunday January 08, 2012 @03:18PM (#3440406)
JavaScript can easily go over a few hundred lines of code. Sure, you need to be organized about it, and if you aren't you quickly can devolve into a mess of nested callbacks and fragile function calls.

But with a little forethought as you write your code, you can write very complex programs with JavaScript and still have a very readable code-base.

Re:Case study: How & why to build consumer apps with Node.js by peterhunt on Sunday January 08, 2012 @09:49PM (#3441298)
I think that Node.js should have been implemented in a language that supports generators or coroutines as it's a more natural paradigm than callbacks.

I also think that rather than passing in callbacks, functions that do I/O should return Deferreds which allow for more elegant error handling and better flow control.