4 ms·
You are giving Javascript much less credit than it deserves. There is a reason it is used so much outside of webpages.
by tinus_hn 8y ago
You are giving Javascript much less credit than it deserves. There is a reason it is used so much outside of webpages.
- SilasX 8y agoCorrect: a large userbase of script kiddies that already know it. “There are better operating systems than Windows. There are also better languages than English.”
- folkrav 8y agoYes, all JavaScript developers are script kiddies, of course. The language has its flaws of course, but come on. Gatekeeping doesn't do anything constructive.
- SilasX 8y agoNeither do strawman arguments. The point is not that everyone who uses JS is a script kiddie, which is indeed false. The point is that it's the self-reinforcing wide adoption that encourages further use, not the great language design. I would say the same of Windows and English, even though there are great English speakers and Windows devs.
- folkrav 8y agoNot particularly disagreeing with you on the language design bit, the language has many flaws indeed. However I don't really agree on your interpretation over the reasons why the language is so popular. How are things like Node.js or supersets like Typescript/Flow self-reinforcing the language? If JS was a purely browser oriented language the argument would make sense as it's basically _the_ only language available (other than WASM, but that's still relatively niche), but it hasn't been for some time now.
- SilasX 8y agoI answered that: Lots of people learn coding by toying with JS (because of ease of setting up an environtment) -> large base of users willing to use the JS version of anything -> lots of development time invested in patching over its problems -> "Stars above, JS is so fast and has such great libraries!" None of that involves JS being a well-designed language, which was my original point and which you seem to agree with.
- mtberatwork 8y agoI mean, whatever your thoughts are on the merits of the language, it's hard to deny though that Javascript's monopoly of the browser fueled its rise in popularity and propelled it to its current state.
- bryanlarsen 8y agoThere are people who like the Javascript design. Compared with it's peers like Python & Ruby, javascript is more functional & "lispy". It's faster, and non-blocking I/O is the default. Closures are cleaner. Some people prefer prototypical inheritance compared to classical inheritance.
- mtberatwork 8y ago> There is a reason it is used so much outside of webpages. How are you coming to that conclusion? The current Tiobe index still has Java, C and Python topping the popularity charts. [1] If you put any credence into whatever this W3Tech site is about, Javascript's popularity as a server-side language even seems to be overblown. [2] [1] https://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/ [2] https://w3techs.com/technologies/overview/programming_language/all https://w3techs.com/technologies/overview/programming_langua...
- tinus_hn 8y agoAre you seriously proposing c is the second most used language for web applications?
- mtberatwork 8y agoNo, but not really following as to how you thought that I was?
- tinus_hn 8y agoYour comment is quite confusing. What is your argument? According to your references Javascript is the 7th or 8th most used programming language. That counts as ‘a lot’ to me.
- mtberatwork 8y agoYou are arguing: > There is a reason it is used so much outside of webpages. I'm asking how you are coming to this conclusion. I personally do not see any evidence to support this and if you take any of these popularity/usage surveys into account, they do not support this either. > 7th or 8th most used programming language. That counts as ‘a lot’ to me. I mean, come on...that's not the same thing as "is used so much outside of webpages".
- seba_dos1 8y ago