294
you are viewing a single comment's thread
view the rest of the comments
[-] Cyber@feddit.uk 16 points 1 week ago* (last edited 1 week ago)

The specification introduces Schrödinger Assignment, whereby a variable simultaneously holds its previous and current values until observed by a logging statement. Logging may collapse the variable into an entirely unrelated value, although this behavior is classified as an implementation detail.

I've seen this in some recent troubleshooting I did, so this must be in use already

this post was submitted on 07 Nov 2026
294 points (98.7% liked)

Programmer Humor

34135 readers
1937 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