619
I AM MISTER SANTA (lemmus.org)
submitted 9 months ago* (last edited 9 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 9 months ago* (last edited 9 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 9 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 9 months ago

But what if naughty = !nice

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

Ash silently weeps.

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

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

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

Won't that always come out as true?

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

That's correct, hence everyone is eligible.

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

Mr Santa crashes...

this post was submitted on 20 Dec 2023
619 points (98.3% liked)

Comic Strips

12019 readers
1878 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