this post was submitted on 16 Nov 2023
221 points (95.5% liked)

Programmer Humor

19488 readers
753 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Yes, someone actually did this and I found it running on our server

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 11 months ago

Image Transcription: Meme


[Paneled meme with a brain that gets increasingly glowing]


[The brain is smaller than the skull]

if dayOfWeek.name == "Sunday" || dayOfWeek.name == "Saturday"
    weekend = true

[The brain is glowing in some areas]

if dayOfWeek < 2 || dayOfWeek > 6
    weekend = true

[The brain is shooting out rays of light]

weekend = !((dayOfWeek - 1) % 6)

I am a human volunteer who transcribes posts to improve accessibility on programming.dev and you could be one too! [email protected]