top | item 47044294

(no title)

lirbank | 13 days ago

Fair concern about reaching inside systems - it's not something to do lightly. The hooks are designed to be minimal: production code never calls them, they only activate in tests. But the core point is narrower than the thread might suggest - the article isn't about whether to use atomic updates vs locks vs SERIALIZABLE. It's about when your code has operations that could race, how do you prove your handling actually works?

discuss

order

jwilliams|12 days ago

Fair enough and no disagreement there. Perhaps (for me!) the example pulled against it your core point.