by davely · 3y ago · 0 comments
Maybe it’s because it’s the only thing I’ve ever known, but… I like it?
I guess if I hack around on a side project and want to use vanilla JS, it’s the Wild West and there’s no rhyme or reason for anything (and everything looks gross).
But working inside various frameworks have been pretty enjoyable for me.
Side note: there’s also this hilarious video about the… delightful nature of JavaScript from 2012:
For the longest time doing the most simple thing in any programming language, putting code in a separate file and loading it to execute, was nearly impossible in JS and required learning and picking sides in an opinionated loader battle. It was confusing and pretty bad for newcomers.
Nowadays all that drama is settled and the core of modern JS is quite nice. I like it more than python to be honest.
Using a mixture of old, deprecated versions of Webpack, Angular, Babel, and Typescript, and a very big pile of code with plain bad (if not plain wrong) type annotations I wish that statement applied to me.
Constantly attempting to keep all this nodejs stuff without vulnerabilities while migrating the least ammount of stuff at once is a daily challenge.
And that comparison is pretty low bar, everything involving say pytorch is a flaming pile of bad waiting to explode.
It's all a bit of a cambrian explosion but it at least means you run into "this awful API has been baked into core and now we're stuck with it" less often.
https://developer.mozilla.org/en-US/docs/WebAssembly/Underst...