💾 Archived View for station.martinrue.com › martin › 90887da80e274a1088bcaf5c922f4960 captured on 2023-04-19 at 23:25:11. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2023-06-14)

-=-=-=-=-=-=-

👽 martin

JavaScript is 26 years old today. Crazy. Feels more like NaN years to me.

1 year ago · 👍 aka_dude, antolius, krixano, enceladus, bronzie_beat, cobradile94, gwenprime

Actions

👋 Join Station

9 Replies

👽 comatoast

Mistakes were made. · 1 year ago

👽 marginalia

I have no real gripes with the language itself, but the ecosystem seems extremely immature. Stage 4 framework cancer on one hand, and the comically insecure packaging system on the other. It's like they're determined to repeat every mistake other languages have made, and invent a few new ones to boot. · 1 year ago

👽 krixano

So, imo, the popularity of hating on JS is *absolutely* warranted, especially when you are basically forced into using it in some sense. That and the JS ecosystem has became terrible, with NPM and Webpack (one of the worst things to ever exist). · 1 year ago

👽 krixano

@martin I'm gonna have to disagree with you on this :P

Javascript is terrible even in any version of it. A bad programming language is one that, even with a good programmer, isn't able to write the best code. Part of the problem with JS is that there's no type system. The other is that it's Object-Oriented-y (technically, Object Prototypes). And the last is the API with browsers and with the DOM (the DOM is pretty horrible to program for, in my experience). · 1 year ago

👽 ailolai

JS seems to be one of those things you build as a temporary diy solution that then grows into a monster. As some provisional law we had in Spain going on, patched, for one and a half centuries · 1 year ago

👽 martin

@dimitrigorvachov Yeah in part, and also just because it seems popular to people to hate it. Personally I think bad systems are almost always due to bad programming and design, much more than due to bad programming languages. · 1 year ago

👽 dimitrigorvachov

so is the hate for it that I’ve seen just for the older versions? Because you tend to see a lot of hate geared toward JavaScript · 1 year ago

👽 martin

@dimitrigorvachov To be fair, the language has evolved a lot since 1995, especially more recently. Async programming is now much better with async/await, and things like object/array destructuring spread, optional chaining, etc., make writing JS much nicer. Perf is also massively ahead of most other dynamic languages. That said, all my JavaScript code is TypeScript these days, because really, why would anyone want to work on a long-term project with other people without even a basic type system. TS for me, in that sense, replaces JS, and the general trend is in that direction (see for example: https://2020.stateofjs.com/en-US/technologies/javascript-flavors/) · 1 year ago

👽 dimitrigorvachov

i’m surprised that in that long of a time, no one has attempted to make a Java script replacement. · 1 year ago