613
I AM MISTER SANTA (lemmus.org)
submitted 10 months ago* (last edited 10 months ago) by sundray@lemmus.org to c/comicstrips@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Rentlar@lemmy.ca 41 points 10 months ago* (last edited 10 months ago)

Mr Santa checks if you are

naughty || nice

to see if you are eligible for a present.

Ho ho ho. Everyone is eligible for a present.

[-] activ8r@sh.itjust.works 7 points 10 months ago

No no no. You're checking two booleans there. People who are naughty, nice, or both get a present. People who are neither naughty or nice get nothing.

[-] Wilzax@lemmy.world 4 points 10 months ago

But what if naughty = !nice

[-] WhiskyTangoFoxtrot@lemmy.world 2 points 10 months ago

Ash silently weeps.

[-] hakunawazo@lemmy.world 2 points 10 months ago

((nice)? 'present' : 'coal');

[-] HappyFrog@lemmy.blahaj.zone 3 points 10 months ago

Won't that always come out as true?

[-] Rentlar@lemmy.ca 6 points 10 months ago

That's correct, hence everyone is eligible.

[-] ultra@feddit.ro 2 points 10 months ago* (last edited 10 months ago)
[-] Rentlar@lemmy.ca 3 points 10 months ago

Mr Santa crashes...

this post was submitted on 20 Dec 2023
613 points (98.1% liked)

Comic Strips

12402 readers
3028 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS