Hacker News new | ask | show | jobs
by yuhe00 2558 days ago
> A bug is never just a mistake. It represents something bigger. An error of thinking that makes you who you are.

I like this quote from Mr. Robot. Most of the time a bug is not an error in logic, but a misunderstanding in how some component of the system works or an unexpected outcome of the emergent behavior of basic rules. Always check your assumptions.

1 comments

I can imagine many more types of bugs:

- fatigue bugs

- inattention bugs

- typo bugs

- unknown unknown bugs

- bad merge bugs

- upgrade bugs

- multiple teams or devs screwing up together bugs

I mean, you can always stretch the meaning of "assumption" to match any of those. But to me realistically "assumption" is more about when you conscientiously suppose things.

After all "unexpected outcome of the emergent behavior of basic rules" could be pretty much be applied to anything. And when your definition can be applied to anything, it's not that much of a definition.

I suppose most of those could/should be tested against, and bring back every bug under "assumption bug". But yeah, I agree with you, this definition is not wrong it's just unhelpful
- copy-n-paste bugs
That's more obviously an assumption failure though - the copy-paster has assumed that the top hit or similar-looking thing is going to work, without properly understanding it and modifying it as necessary.