Inspired by @frederik’s suggestion of making a meme template out of @daniel’s cat (https://social.telemetrydeck.com/@daniel/110412231217223620), I present…
A TECH LEARNING YUCK CAT MEME SERIES
React:
BTW, these posts are not a request for explanations, either of why each result happens (I already know, thanks) or why the result is actually A Very Good Thing.
Such replies will result in an immediate temporary mute.
Swift:
(Love the language, but man, this particular syntax was a real mistake.)
Java:
(ArrayList<HashMap<String,String>> things = new ArrayList<HashMap<>>() was a close second, but somebody needs to pick on generic type bounds today!)
Two for Ruby! (The second one is actually secretly awesome. Horrifying, dangerous, an affront to all that is good and true in this world, but also awesome.)
Grand finale (for now): Javascript
I realize that mocking JavaScript is like shooting fish in a barrel, but easy as it may be, it is a moral imperative that the mocking continue unabated.
Enough for now. Here’s the template. Have fun, kids! Be safe!
[Suggested activity: mocking C++]
`["foo".toUpperCase][0]()` is my own addition to the Javascript Lexicon of Wat, btw, and I’m really proud of it.
Go ahead, guess the output and then try it.
@inthehands I feel like I’m 50/50 just randomly guessing undefined
@segiddins That would have been my guess, too — or more likely some sort of “trying called undefined as a function.” But no. Oh no.
@daniel_bohrer Accurate.
@inthehands thank you for this series, I had some giggles!