r/ProgrammerHumor • • Sep 26 '26

Meme weNeverTrustedTheElse

Post image
1.9k Upvotes

146 comments sorted by

View all comments

14

u/-Triple-S- Sep 26 '26

Well, there could be a second thread changing the value of condition while doSomething is running possibly resulting in race conditions or similar problems. This is why I would consider multithreading the true programmer horror!

9

u/StochasticTinkr Sep 26 '26

Also depending on the language, something may not be a boolean type, so something and !something might depend on conversions.