this post was submitted on 20 Dec 2023
620 points (98.1% liked)
Comic Strips
12945 readers
2902 users here now
Comic Strips is a community for those who love comic stories.
The rules are simple:
- The post can be a single image, an image gallery, or a link to a specific comic hosted on another site (the author's website, for instance).
- The comic must be a complete story.
- If it is an external link, it must be to a specific story, not to the root of the site.
- You may post comics from others or your own.
- If you are posting a comic of your own, a maximum of one per week is allowed (I know, your comics are great, but this rule helps avoid spam).
- The comic can be in any language, but if it's not in English, OP must include an English translation in the post's 'body' field (note: you don't need to select a specific language when posting a comic).
- Politeness.
- Adult content is not allowed. This community aims to be fun for people of all ages.
Web of links
- [email protected]: "I use Arch btw"
- [email protected]: memes (you don't say!)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
But what if naughty = !nice
((nice)? 'present' : 'coal');
Ash silently weeps.
Won't that always come out as true?
That's correct, hence everyone is eligible.
What if you're neutral?
Mr Santa crashes...