you are viewing a single comment's thread
view the rest of the comments
[–] 16 points 2 days 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

  • source