141
you are viewing a single comment's thread
view the rest of the comments
[-] terranoid@lemmy.cafe 5 points 3 days ago

When it's designed to be an expression

while (int x = 1) { ... Modify x to eventually be zero... }

That might make sense even if it looks weird. Kinda like a for loop.

this post was submitted on 21 Sep 2026
141 points (99.3% liked)

Programmer Humor

33314 readers
1518 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 3 years ago
MODERATORS