Skip Navigation

User banner

propter_hog [any, any]

@ propter_hog @hexbear.net

Posts
22
Comments
1057
Joined
2 yr. ago

Post hog

  • I didn't know Zelensky owned a gray sweatsuit

  • Doors with too many doorknobs (none of which work to open the door)

  • Yep, I believe you're right

  • gold doubloons

  • 'a' + +

    This part is the same as writing 'a'++ and that returns "NaN" (short for "not a number") since you can't increment a character, but this return type is a string, so the interpreter just concatenates it with the other letters: baNaNa. Then that string is converted to lower case to give the final result, "banana".

  • Precisely. This exact situation from the comic would happen in Java, too, except it complains when you subtract an int from a string. JavaScript was merely designed to minimize errors (since a web browser takes the place of the compiler, and random strangers visiting your site shouldn't get interpretation errors) so instead of throwing up it just does its best at interpreting what you meant.

  • You're still there, we've just redecorated a bit. Mazel tov!

  • You can tell he does not understand that boy

  • Put a garage on the roof pointing sideways

  • "Your network is your net worth" ain't that the truth, I have no network

  • + is overloaded for string concatenation, but - isn't so the interpreter coerces the "11" into a number first.

  • Just saw that lemm.ee is shutting down

    Jump
  • Dude. We have the opportunity to do the funniest thing.

  • Ace vs poly

  • Which way are we supposed to be curved? Spherical or hyperbolic?

  • God what an ugly-assed motherfucker

  • My other thought was it had to be a bear posting it, like there's no way someone actually thinks that way

  • .world is a joke instance. Deeply unserious.

  • TACO