this post was submitted on 04 Nov 2024
109 points (96.6% liked)

Programmer Humor

32472 readers
874 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TheDoctor@hexbear.net 5 points 1 week ago (1 children)

Yeah. I can understand the use case when it’s something relating to keeping simple state in sync by replacing it with derived state. But this particular case was flushing a cache after each get, which made each get of the property non-deterministic based on the class’s state.

[–] yogthos@lemmy.ml 6 points 1 week ago

lol yeah that sounds like a nightmare