On node.js: Javascript on the server and the client is not a big deal
blog.ianbicking.org
blog.ianbicking.org
So faced with the choice of an ASP page with a mix of client side VBScript and server side VBScript it was pretty hard, so I switched the server side to Javascript (or ECMAScript or JScript or whatever Micorsoft's implementation was called that week).
That made the demarcation between client and server (in the same source file) enormously much more clear. Consequently productivity went way up when we did that.
I still think that was the wrong way round (Javascript on the client, VBScript on the server would have been better in every single way), but having the two languages was definitely the way to go. Yes, you need to context switch, but when you switch from client to server you need to context switch anyway.
It's that it is a much better programming language than any in wide use, developed by people more interested in making something useful than something marketable.