The Coded One

programming, algorithms, discrete math, open-source

Posts Tagged ‘bugs

Applying the Pareto Principle in Coding

leave a comment »

The Pareto principle (also known as the 80-20 rule, Haddad’s Theorem, the law of the vital few and the principle of factor sparsity) states that, for many events, 80% of the effects come from 20% of the causes. (http://en.wikipedia.org/wiki/Pareto_principle)

In programming this translates to, avoiding 20% of the bugs when writing code will reduce the effects of horrible bugs by 80%.

Less code = less bugs, no code = no bugs ? LOL

Written by Mark Basmayor

July 13, 2008 at 9:28 pm

Follow

Get every new post delivered to your Inbox.