Hacker News new | comments | show | ask | jobs | submit login
On node.js: Javascript on the server and the client is not a big deal (ianbicking.org)
14 points by brodie on Mar 30, 2011 | hide | past | web | favorite | 2 comments

Back in the 90s the company I was at wanted to have a crack at some early ASP programming (predating ASP.Net). But because they were a Microsoft shop they had decided that they were going to have all the client side events in VBScript (don't ask why, down that path lies madness).

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 not because it is the same language that is in the client or that so many novice programmers all ready know that is important.

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.

Applications are open for YC Summer 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact