Race conditions are pretty bad. So are type errors. Both lead to all sorts of security bugs, so I'm not sure which I'd consider worse. If I'm the one who's expected to fix it, though, I'd probably say that race conditions are worse because they're often very difficult to reproduce.
A "race condition" happens when two or more separate entities try to manipulate the same resource at the same time, the order in which these manipulations occur cannot be usefully predicted, and the final state depends on this order. All bugs that I would classify specifically as "non-deterministic threading bugs" are race conditions.
Discussion (8)
Nah. Non-deterministic threading bugs.
Aka "race conditions".
D'A
Race conditions are pretty bad. So are type errors. Both lead to all sorts of security bugs, so I'm not sure which I'd consider worse. If I'm the one who's expected to fix it, though, I'd probably say that race conditions are worse because they're often very difficult to reproduce.
Like making two identical claims?
Ehn?
Claims inspired by this comment
One can make two identical claimsOne can make two identical claims
DO those qualify as race conditions? Maybe I'm misunderstanding the term/occurrence. Blergh.
A "race condition" happens when two or more separate entities try to manipulate the same resource at the same time, the order in which these manipulations occur cannot be usefully predicted, and the final state depends on this order. All bugs that I would classify specifically as "non-deterministic threading bugs" are race conditions.
D'A
Bugger. I guess you're right on that.