this post was submitted on 02 Jan 2026
581 points (88.7% liked)

Showerthoughts

39117 readers
1452 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The most popular seem to be lighthearted clever little truths, hidden in daily life.

Here are some examples to inspire your own showerthoughts:

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. No politics
    • If your topic is in a grey area, please phrase it to emphasize the fascinating aspects, not the dramatic aspects. You can do this by avoiding overly politicized terms such as "capitalism" and "communism". If you must make comparisons, you can say something is different without saying something is better/worse.
    • A good place for politics is c/politicaldiscussion
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct and the TOS

If you made it this far, showerthoughts is accepting new mods. This community is generally tame so its not a lot of work, but having a few more mods would help reports get addressed a little sooner.

Whats it like to be a mod? Reports just show up as messages in your Lemmy inbox, and if a different mod has already addressed the report, the message goes away and you never worry about it.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] AnAverageSnoot@lemmy.ca 10 points 1 week ago* (last edited 1 week ago) (2 children)

Your variables are already booleans, so you can just write:

if wearing_glasses and is_brightly_lit

[–] pretzelz@lemmy.world 10 points 1 week ago (1 children)

Are they though? Maybe they are inputs that haven't been sanitised but the language has two kinds of equals and is you use the double equals then it tries to coerce it for you. Lol that with would be silly!

[–] Feathercrown@lemmy.world 6 points 1 week ago

lol what a funny lamguage design horror story. I'm sure glad it's not real

[–] gandalf_der_12te@discuss.tchncs.de 1 points 1 week ago (1 children)

yes but it makes it clearer to do isWearingGlasses == true

[–] Warl0k3@lemmy.world 4 points 1 week ago* (last edited 1 week ago)

The compiler/interpreter/etc will convert it to the most efficient implementation regardless of what you the human type. If you're used to the if [boolean] convention use that, if you're used to if [boolean] == true use that, it does not matter except to style commissars.