Hacker News new | ask | show | jobs
by bereft_orange 4667 days ago
Saying that something will have the same language on client and server is misleading: javascript (and most other languages) have very simple syntax - it's more about the libraries involved. Node.js and the browser environment are totally different (and I doubt there are many packages written for both settings).

Even if everyone were working in JavaScript, seems unlikely that you'd be able to be both an awesome client-side and server-side developer.

2 comments

I'm not a node guy, but I thought one of the big advantages was just that... that you could use a lot of the same code. ORM/object modelling should be fine on server or browser, also template rendering, data/form validation, etc.

One thing that is a pain in conventional web development is for a lot of these things having to implement them twice (or write clever automatic converters or whatever to generate the backbone.js (or whatever) boilerplate models from the original django/rails/whatever/schema.

>Even if everyone were working in JavaScript, seems unlikely that you'd be able to be both an awesome client-side and server-side developer.

Why does that seem unlikely? Sure, they're largely non-overlapping skill sets, but plenty of people are very good at more than one thing.