r/programming • • Apr 10 '15

JavaScript will lead a massive shift in enterprise development

http://www.infoworld.com/article/2907190/javascript/javascript-will-lead-a-massive-shift-in-enterprise-development.html
0 Upvotes

16 comments sorted by

View all comments

10

u/[deleted] Apr 10 '15

I hope not, javascript as a language is terrible. combined with the fact that a significant proportion of javascript developers are also terrible, you've got the makings of something worse than php left us in for years, albeit with less of a performance penalty

3

u/jbergens Apr 10 '15

the developers might be terrible because you and a lot of other developers who says they are great don't want to touch js. You can look at it as an opportunity instead, if you start working with js you might become one of the best js-developers very quickly.

3

u/Don_Andy Apr 10 '15

I think it's less that "good" developers don't want to touch JS but rather that JS is a language that's very forgiving and very easy to be "bad" in. So if a junior developer picks up on the JS hype and starts learning enterprise programming with it, it's very easy to pick up some bad habits that statically typed languages would punish you for straight away.

I'm not saying JS is inherently bad or automatically makes programmers bad. Just that it's a lot easier to make mistakes that don't look like mistakes and that you might never actually pick up on.

I personally love playing around with JS and think it's a nifty language, but coming from dotNET development I just can't live without static typing. If I ever needed to work with JS in an enterprise environment, I'd probably go with TypeScript.

2

u/[deleted] Apr 10 '15 edited Apr 10 '15

I know this is the dominant opinion on /r/programming, but it doesn't change the fact that JavaScript is pretty much anywhere and only expanding. Ignoring it or hating it won't make it go away, and will likely only work against you in the market.

I'm a full-stack developer myself, though the vast majority of the code I write nowadays is JavaScript. And to be honest, next to C++ it's actually my favorite language. Sure I miss static types and proper interfaces sometimes, but I actually like its flexibility.

Anyway, I like to use the right tool for the job. Sometimes that's C++, sometimes that's Java, and depending on your domain it really can be anything, but increasingly often it's JavaScript. Not in the least because of its rich ecosystem.

Finally, you should realize (and fortunately the article recognizes this too, at least) that Java, C# and whatever won't go away because of JavaScript. Core systems and performance critical code will (indeed hopefully!) probably never be JavaScript. But step outside those systems, and you'll see JavaScript all around you. For that reason I'd say it's a good language for pretty much any serious developer to have in his toolbelt.

0

u/skocznymroczny Apr 10 '15

No kidding, people love to hate on enterprise development, but in 10 years we might miss the good old times of PHP and Java.