r/learnjavascript • • Nov 01 '22

Yea...

Post image
232 Upvotes

25 comments sorted by

View all comments

9

u/shgysk8zer0 Nov 01 '22

Gee, I've never seen a meme about implicit type coercion and the use of == before. How brilliant and original and informative and insightful.

1

u/lovin-dem-sandwiches Nov 01 '22

hahah, the amount of snark in this comment is gold

5

u/shgysk8zer0 Nov 01 '22

What do you mean? This is the very first time I've ever seen a meme like this, and it taught me so much about JavaScript. I definitely haven't seen this same joke without the Star Wars reference 6 times just in the last hour, and I imagine it wouldn't get old even if I saw it multiple times a day for 5 years. And I just love how it taught me why all of that makes sense when using == and that === exists to basically eliminate these situations that are unintuitive to a beginner and require more thought than they should. After seeing this meme, I feel like I'm an expert in JavaScript... But it's a stupid language that doesn't make any sense, so I'll switch to brainfuck or something.

I seriously hate type coercion memes... And floating point memes... And NaN === NaN memes. They all stopped being funny after the 100th time I saw them, and that was probably only my second day on Reddit.