top | item 33119819

(no title)

gocsjess | 3 years ago

JavaScript is a highly productive for Web Applications, although I also heavily use other alternatives for several reasons, But regardless, that is why it is my candidate for the best programming language especially working with the Web and Web applications in general. Anything beyond that is either niches or outside general purpose web. JavaScript can do:

- advance web applications (electron, NodeJS)

- ETL on the go (i.e. fetch, JSON, DOM, SVG)

- data visualization (i.e. d3, three.js, etc.)

- dependency management (i.e. NPM, CDN, ESM like in Deno)

- learning resources in general (extremely abundant and comprehensive on various sources)

It is hard not to learn JavaScript, it is almost everywhere. Also having to learn the 2nd or the 3rd programming language should also fill-in those gaps, even those huge gaps.

discuss

order

ElfinTrousers|3 years ago

JS is ubiquitous. It's also a primitive, sloppily-designed language that has caused untold economic damage. It's not as bad a language as, say, Perl, but it might be the single biggest thing holding back the Web as a platform today.

I do understand that it's not entirely fair to criticize it for being sloppy, since it was supposed to only be a stopgap to be used for a few years in the 1990s until the hypothetical better language came along. Perhaps WASM means this long wait is finally over, but I don't want to get my hopes up.

gorjusborg|3 years ago

I'd say javascript is the new Perl (I used to love writing perl way back). It is undoubtedly useful, but can be horrific to read. It is heavily used to get things done in a pragmatic way.

The difference I see is that it will not likely die as quickly and quietly due to how distributed the code is.

forgotmypw17|3 years ago

I do love Perl and JS for the same reasons: You can write something and be sure it will keep working. It is not customary to introduce breaking changes.