You can't even get good optimization advice anymore since more often than not you only get a "micro-optimization is the root of all evil".
And then they wonder when stuff runs like shit.
Le Redditeur wrote: ↑Sat Jan 07, 2023 12:10 am
JavaScript development, on the other hand, get ever more insufferable as the time goes on, because of the sheer amount of new gimmick frameworks and features keep piling on it. I liked better when people like Douglas Crockford were telling us to throw away half of JS dumb garbage features and write only "the good parts". Then hipsters started shitting ever more complex garbage and the language is now unrecognizable.
I guess JS started out fine-ish, but then it became like the universal solution to everything and they never fixed the core issues of it* - which apparently many JSfags don't
want to fix since they are convinced of the superiority of their one true scripting language.
Thankfully WebAssembly is starting to become a thing, so you can use the Chad C Code instead of the Virgin JavaScript Code.
*) No type safety is I guess common for scripting languages, but for larger projects this makes it a pain to debug anything, since you can never be sure wtf a parameter will even be.
This is made all the worse by JS doing automatic casting without your consent (like turning an empty String into a 0 or vice-versa), all because JS loves to do anything in its power to not throw an exception (which naturally makes debugging even harder).
Plus you have to jump through all sorts of hoops to do anything resembling encapsulation, which is admittedly more of an object-oriented thing, but its lack turns larger projects into a bit of a mess relying on an honor system when it comes to
not accessing shit you shouldn't access from your current position.
And let's not forget the cancer that is "multi-platform" software that's actually just some JavaScript abomination running in a Chromium window, which makes the whole deal way slower and resource-hungry than it needs to be.
I guess
TypeScript solves most of this, but at the end of the day this still has to be turned into JS code to be useful for anything.
Autism attracts more autism. Sooner or later, an internet nobody will attract the exact kind of fans - and detractors - he deserves.
-Yours Truly
4 wikia: static -> vignette