Re:Fogus: Node.js should become its own language
by DTrejo on Tuesday April 12, 2011 @10:59AM
(#2437463)
It requires that you do most of the work yourself - work that is mechanical, and basically requires that you be a human compiler.
It would be a good idea to write some JavaScript before you make statements like these with so much conviction.
Re:Fogus: Node.js should become its own language
by scott_s on Tuesday April 12, 2011 @11:05AM
(#2437489)
Fair enough, but the examples I've seen look like continuation passing style (http://en.wikipedia.org/wiki/Continuation-passing_style), which is something we know how to abstract behind language syntax and semantics. In what way am I wrong?
Re:Fogus: Node.js should become its own language
by dionidium on Tuesday April 12, 2011 @11:19AM
(#2437552)
Programming in an "event-based way" is a huge part of writing traditional JavaScript in the browser. You're handling user events, Ajax responses, the page load itself. And JavaScript's first-class functions and closures are extremely well-suited to the task.
Disclaimer: I don't program in JavaScript or Node.js. So I'm talking from conceptual understanding, not experience.