4 ms·
It's interesting to see so many people say "JS is great and we used it to build X" on one side and people who hate JS on the other side. Obviously Node (and JS
by gexla 13y ago
It's interesting to see so many people say "JS is great and we used it to build X" on one side and people who hate JS on the other side.
Obviously Node (and JS) has some things that it is strong in. People use it to build those things. Good developers won't use a tool in their box which is inferior to another tool they can use effectively. In between, there is a lot of room for "good enough" where tools overlap.
I think some developers are able to largely stick with a certain tool because development goes in waves. I can spend multiple months on a certain profile of work and then get hit with the same type of project a couple more times. Maybe by then I become an expert with that thing and I just keep doing those sorts of projects. You might think I'm crazy because I'm a "Node developer" but you probably don't know the nature of the work that I do.
Eventually I get hit with a different project and everything falls apart if I try to keep using the same tools as I had been using. So, I curse myself for being stupid and wasting time and start over with the tool I should have been using in the first place.
Some developers might have such a limited set of tools that they can't (or won't even try) to switch.
"So, I landed a big gig for the government. It's a healthcare site. I'm going to build it in Wordpress."
Following this thread further, look at some of the selling points of Node.
* It's great because as a front-end developer, you probably already know JS. With Node you can use JS on the back-end also!
* Because the front-end and the back-end are both in JS, I can use one programming language and re-use libraries for each side.
Great, let's encourage people who only know one programming language and a limited range of tools to just stay in that box.
There are things that X tool does well. There are things that X tool is horrible at. Perhaps rather than ragging on Node, the author should write an article explaining that developers should be expanding their tool-set so they have flexibility in handling different types of problems.
- solomatov 13y ago>Obviously Node (and JS) has some things that it is strong in. People use it to build those things. Good developers won't use a tool in their box which is inferior to another tool they can use effectively. In between, there is a lot of room for "good enough" where tools overlap. People use JavaScript not because it's good but because it's the only option to develop in a browser. Having the same language on the client and the server is a very strong point, that's why they use NodeJS.
- 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.
- 13y ago