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

Comic Strips

12525 readers
2823 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
618
I AM MISTER SANTA (lemmus.org)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 41 points 10 months ago* (last edited 10 months ago) (3 children)

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.

[–] [email protected] 7 points 10 months ago (3 children)

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.

[–] [email protected] 4 points 10 months ago

But what if naughty = !nice

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 2 points 10 months ago

Ash silently weeps.

[–] [email protected] 3 points 10 months ago (1 children)

Won't that always come out as true?

[–] [email protected] 6 points 10 months ago

That's correct, hence everyone is eligible.

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)
[–] [email protected] 3 points 10 months ago

Mr Santa crashes...