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.