3 ms·
> "but it feels like a lost art to build effective web applications using the core JS language." Yeah it is getting lost, more and more lost each year - you kn
by miffy900 2y ago
> "but it feels like a lost art to build effective web applications using the core JS language."
Yeah it is getting lost, more and more lost each year - you know why? The core JS language is bad. Note how the author uses the word 'core' instead of what they really mean: 'subset'. Use a subset or a small portion of the language, because if you use the whole breadth of language features, you will litter your application with so many landmines that you will eventually scrap it and re-write due to how awful most of the 'features' in JS are. Even using a subset you have no choice to resort to syntactical verbosity to get around bad language design, like === over ==, or const & let over var.
I wonder what the ultimate point of posts like these are; it's like someone trying to light a fire during a flood; and to what end? To pointlessly champion a bygone era of when people didn't know better? Let's be clear here, JS is popular because it is the only language shipped by default in browsers, since 1996. That's it; it's not popular because it's good; we're not using it in 2024 because it won out in a contest of merit. It's design phase was rushed and even its name betrays how stupidly conceived it was; 'JavaScript' - as if superficial association with an already trendy tech during the 90's was somehow enough to paper over it's obvious flaws as a language. Just laughable.
Seriously, it's 2024, we know better now - use TypeScript. It's actually kind of amazing how Microsoft released TypeScript only in 2012 and not years earlier.
- AtlasBarfed 2y agoIt's the eternal infinite loop of " lightweight" replacing "heavyweight", then needing more features/support/testing/management/,tooling, becoming "heavyweight". To reacts credit, they started out heavyweight, but they knew it needed to be to address the problem in the manner they desired