3 ms·
> Having the same language on the client and the server is a very strong point Only if you're so incredibly strapped for cash that you can't hire real devs tha
by sneak 13y ago
> Having the same language on the client and the server is a very strong point
Only if you're so incredibly strapped for cash that you can't hire real devs that can pick up another language in a day or two.
Almost every language used commonly on the serverside is vastly preferable to js.
This whole "well, it's THE SAME" benefit simply isn't. It's a red herring.
I'm convinced the whole ecosystem has sprung up because of hordes of terrible copy-paste browserside devs that don't actually fully understand what they're doing in js, who resultantly would be incapable of building anything serverside in another language at all because their overall comprehension of programming is marginal at best.
Anyone not stupid or insane just learns ruby or python or scala or go or even php or .NET.
PS: cue replies from all dozen people on the whole internet who know pointer math and still like coding webapps in js, who don't realize that I'm not talking about the 12 of them but the 12,000 who are doing the js/node problems on codeacademy this instant.
- solomatov 13y ago>Only if you're so incredibly strapped for cash that you can't hire real devs that can pick up another language in a day or two. If your application is more complex on the client than on the server, that's the way to go. I personally, prefer GWT here. Java on the client and the server is much better than JavaScript on its place.
- benaiah 13y ago> Anyone not stupid or insane just learns ruby or python or scala or go or even php or .NET. I started with PHP and C#/VB.NET, before learning JS. I know Python, Scheme, Java, I've played a bit with Clojure and Ruby[0]. After all that, JavaScript (admittedly, usually through CoffeeScript) is my favorite language. It provides everything you need to build almost anything you want, wrt tooling. I understand and agree that it has warts, as does every language. But to call its use "stupid or insane" is ridiculous. [0] I have yet to understand the concept of blocks, as they seem to be just a half-assed implementation of first-class anonymous functions. If someone can show how they improve on them, that would be much appreciated.
- sneak 13y ago....aaaaand scene. Cut!
- benaiah 13y agoI have literally no idea what you meant by this.
- sneak 13y agoYou didn't miss your cue, and delivered your lines perfectly. We're done for the day, we're not bringing in Eevee[1] and Dziuba[2] to shoot the "every language has warts hahaha what are you, a noob?" scene until tomorrow. You did great, thanks again. Don't call us, we'll call you. [1] http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de... [2] http://pages.citebite.com/b2x0j8q1megb http://pages.citebite.com/b2x0j8q1megb