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". Find the right data structures and the logic becomes easy.
University of Texas in Austin | Rob Pike's 5 Rules of ProgrammingJosh Beckman
- Direct manipulation of data - something like sketch pad - where you...from youtube.com
- the smaller the interface, is the more useful it is [[See also [dee...from The Go Programming Language
- errors are values The Go Programming Language | Gopherfest 2015 |...from The Go Programming Language
- don't communicate by sharing memory share memory by communicat...from The Go Programming Language
- General notes: > Instead of writing code, directly manipulate da...from youtube.com
- Entity: An entity represents a general-purpose object. In a game en...from en.wikipedia.org
- Windows 95 was 30MB. Today we have web pages heavier than that! Win...from Nikita Prokopov
- When we build systems that avoid coordinating, we end up building c...from email@example.com (Marc Brooker)