Design Principles

Occam's Razor

The simplest explanation is usually the correct one.

design simplicity debugging

Occam's Razor is a problem-solving principle that states: among competing hypotheses, the one with the fewest assumptions should be selected.

In Software Engineering

Also related to the concept of Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity.

Enforce this law (and 100+ more) in your AI coding agents with DevLaws.

Open DevLaws All laws →