Quote: Rob Pike's 5 Rules of Programming

By h

This post is a quote that I got from somewhere.

Rob Pike’s 5 Rules of Programming

Pike’s rules 1 and 2 restate Tony Hoare’s famous maxim “Premature optimization is the root of all evil.”

Ken Thompson rephrased Pike’s rules 3 and 4 as “When in doubt, use brute force.”.

Rules 3 and 4 are instances of the design philosophy KISS.

Rule 5 was previously stated by Fred Brooks in The Mythical Man-Month, and is often shortened to “write stupid code that uses smart objects”.

fin.