Hacker News new | ask | show | jobs
by dmoreno 3041 days ago
I loved the heisenbug/bohrbug distinction in the zen of Erlang [1]:

> Basically, a bohrbug is a bug that is solid, observable, and easily repeatable. They tend to be fairly simple to reason about. Heisenbugs by contrast, have unreliable behaviour that manifests itself under certain conditions...

It continues talking that for some kind of heisenbugs, one smart strategy is just to restart to a known state, and forget about this one in a million failures (let it crash).

[1] https://ferd.ca/the-zen-of-erlang.html