Every non-trivial program contains at least one bug. Every non-trivial program can be simplified by at least one line of code. The conclusion of the last two laws

Source status: Attributed to Brandon Aiken

Every non-trivial program can be simplified to one line of code, and it will contain a bug.

- Brandon Aiken

Category: Murphy's Computer Laws

Votes: 0 up, 0 down

In context

This law belongs with Murphy's Computer Laws, where small assumptions, timing, and system complexity tend to turn into memorable failures.

Keep exploring laws from this topic or browse the full archive for neighboring ideas.

Improve this entry

Know the original source, a better attribution, or a duplicate we should merge? Report an issue.