-
I don't know who needs to hear this, but please don't send me links to low effort whining 'JS bad' memes or tweets. Yes, we get it, some core parts of the language have surprising behaviour & would be done differently today. Personally I find keeping one of the largest... 1/7
-
...development platforms ever (the web) backwards compatible a noble goal, and I have a lot of respect for everyone who worked towards that in the past 2.5 decades, as well as pushing new ECMAScript and Web APIs to a higher level. To be clear: we still poke fun at things... 2/7
-
...occasionally, even the spec authors do (e.g. url.spec.whatwg.org/#application/x-www-form-urlencoded or html.spec.whatwg.org/multipage/history.html#the-location-interface) or at least acknowledge why they're still around (e.g. tc39.es/ecma262/#sec-additional-ecmascript-features-for-web-browsers, dom.spec.whatwg.org/#interface-htmlcollection, or html.spec.whatwg.org/multipage/common-dom-interfaces.html#the-htmlallcollection-interface), but with many of these posts I get the... 3/7
-
...feeling that there's a severe lack of understanding of the fact that we literally *can't* change or remove certain behaviour without half of the web falling apart - and complaining on twitter dot com won't change that. Sure, there are solutions like "use strict" for... 4/7
-
...a 'completely sane JS mode', but I'm not sure that'll happen any time soon (or ever). Either way, if you're a web developer and genuinely don't understand what's happening, go read MDN, the spec, or an engine implementation. Spoiler: it's neither completely arbitrary, ... 5/7
-
...nor particularly complicated. If you still hate it afterwards, I suggest you use TS or some other language that transpiles to JS. 'It' could refer to many examples, the latest one I've seen is 'I tried
[1,2,3] + [1,2,3]
& wtf is this shit'. I don't find those helpful... 6/7 -
...or relatable (anymore!) and am tired of seeing them, that's all. The next time you're about to re-share such a meme/post, perhaps look into what's happening under the hood and *share that* instead :^) 7/7