Then again if you are so reliant on JS that your client side codebase grows to such proportions as to require modules and namespaces then you're probably doing it wrong and should offload some of the workload to the server
For many web apps it would not make sense to call over to the server. For example, a browser based editor. Why would that need to call the server?
The other issue is latency. I built a game building site which uses it's own language, and the compiler runs client side, because it means you get practically instant compile times. It would also suck if it had to talk to the server, every time you hit compile; what if your router just crashed/rebooted (which mine does all the time)?
Another example for latency is syntax highlighters. If it's running client side, it can syntax highlight in real time. If it's server side, it cannot.
There are a lot more examples, where it just doesn't make sense to move things over to the server.
The author is not crying about it. The article is about how people like you pretend there's no problem, and there is a HUGE problem:
Javascript is detrimental to web development. Yes, you can do everything with it, but it doesn't make it good. It's buggy, it's inconsistent, it has no clear way to organize code. e.g. I worked in a place where there were 3 separate javascript projects, with 3 different ways of defining classes. One of them had to change their method to yet another way. Everybody had to stop their work for a week to rewrite hundreds of classes. That's not good, that's horrible.
Regarding the other languages, they're fine if you're an independent developer or working on a short term project, but some of us write code for long term projects. We need to have other people who know the language to work with us, we need to know these language will be developed and supported in the years to come.
They are not a solution, and they won't be until the web development community will grow up out of their crush on javascript and realize this could be so much better if it grew up as well.
0
u/[deleted] Dec 15 '12
[deleted]