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.
Comments
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.