The program-design version of the law of diminishing returns. The 80/20 rule says that roughly 80% of the problem can be solved with 20% of the effort that it would take to solve the whole problem.
For example, parsing e-mail addresses in “From:” lines in e-mail messages is notoriously difficult if you follow the RFC 2822 specification. However, about 60% of actual “From:” lines are in the format “From: Their Name “, with a far more constrained idea of what can be in “user” or “host” than in RFC 2822. Another 25% just add double-quotes around “Their Name”. Matching just those two patterns would thus cover 85% of “From:” lines, with a tiny portion of the code required to fully implement RFC2822.
(Adding support for “From: user@host” and “From: user@host (Their Name) ” brings coverage to almost 100%, leaving only really baroque things that RFC-2822 permits, like “From: Pete(A wonderful \) chap) It is an eternal question whether too much attention is paid to the 80/20 rule (leading to systems that are irrevocably broken for “unusual” cases), or too little (leading to systems that sacrifice usability in the typical case, just so that rare cases can work properly).
Compare: KISS Principle
[ey-tee-three] /ˈeɪ tiˈθri/ noun 1. a cardinal number, 80 plus 3. 2. a symbol for this number, as 83 or LXXXIII. 3. a set of this many persons or things. adjective 4. amounting to 83 in number.
[ey-tee-too] /ˈeɪ tiˈtu/ noun 1. a cardinal number, 80 plus 2. 2. a symbol for this number, as 82 or LXXXII. 3. a set of this many persons or things. adjective 4. amounting to 82 in number.
[ahyk-mahn] /ˈaɪk mɑn/ noun 1. Christiaan [kris-tee-ahn] /ˈkrɪs tiˌɑn/ (Show IPA), 1858–1930, Dutch physician: Nobel Prize 1929. /Dutch ˈɛikmɑn/ noun 1. Christiaan (ˈkriːstiːˌaːn). 1858–1930, Dutch physician, who discovered that beriberi is caused by nutritional deficiency: Nobel prize for physiology or medicine 1929 Eijkman Eijk·man (īk’män’, āk’-), Christiaan. 1858-1930. Dutch hygienist and pathologist. He shared a […]