Thanks, that is very helpful as I had no idea what the OP image was
Phoenixz
- 0 Posts
- 8 Comments
And that list isn’t even complete
Phoenixz@lemmy.caBanned from communityto Memes@lemmy.ml•Fairly sure the mayo gun is full-auto2·24 days agoGet movie: the stuff
Well it’s what you’d want but not what it does, for one, but for another: comparing scalars is very easy, comparing complex structures is not. To compare one array with another you’d need to iterate over each element, recursively.
That JavaScript handles arrays as objects is also not bad, that’s just a language feature that you may like or not, not much can go wrong there. The reassignment of “this” or how JS handlesnumber comparison, yeah, that is infuriatingly bad
JavaScript sucks but I’ll give it this one
Arrays are complex structures with multiple values. Just because one looks like the other doesn’t make them the same object. It’s like taking two new objects form the same class, they look the same but work independently from eachother. I can add a value to one and the other would be unaffected, they’d both still be the same class
PHP was shit 25 years ago (like everything else back then) and I never bothered to look at it ever again but to this day I keep shitting on it because reasons
You
Oh Hells no.
JavaScript is NOT fine, it’s … I’m really trying to think of a word that will convey the shit that it is without triggering half the people on Lemmy into an aneurysm, but I can’t find it.
JavaScript is by far the worst. I’ve been working with JavaScript for the past 6 days and I want to hang myself, it’d be a better fate than continuing
Removed by mod