Re:Thoughts on Rails, Node, and the web apps of today
by pwpwp on Thursday July 12, 2012 @11:39AM
(#4235079)
Programming against system calls doesn't suffer from this problem. In fact, if you use synchronous system calls, the OS does exactly what you're asking for: switching contexts when appropriate.
[ Parent
| on HN ]
Re:Thoughts on Rails, Node, and the web apps of today
by ef4 on Thursday July 12, 2012 @01:27PM
(#4235569)
That's true. I was referring to the non-ability to throw meaningful exceptions, which is a side-effect of Node's inversion of control.
Basically it means you can't rely on exceptions at all, so you're back in a "always check for the error code" world.