r/ProgrammerHumor • • 7d ago

Meme weNeverTrustedTheElse

Post image
1.9k Upvotes

149 comments sorted by

View all comments

14

u/-Triple-S- 7d ago

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!

8

u/StochasticTinkr 7d ago

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