AlgoViz

KISS

easy 40 min

Keep it simple: choose the design with the fewest parts that still does the whole job, edge cases included.

Watch lesson4:27

Where it shows up

The same pattern appears across everyday software.

  • Unix tools

    McIlroy's advice of 1978 was to make each program do one thing well, and to expect its output to become another's input. Pipes join small tools.

  • SQLite

    Its documentation says that there is no server to start, stop or configure. It names simplicity among its aims, and says that it competes with opening a file, and not with client/server databases.

  • Go

    The Go FAQ says that generics were left out at first for simplicity. Rob Pike's talk Simplicity is Complicated (2015) explains the trade: the language carries the work so that programs stay plain.

  • Redis

    Its manifesto says that the project avoids intermediate layers in the API, so that the cost of each operation is obvious.

  • JSON

    json.org describes it as easy for people to read and write and for machines to parse. The grammar fits on one page.

  • The Zen of Python

    PEP 20 prefers simple to complex, complex to complicated, and flat to nested.

  • Arch Linux

    Its wiki defines simplicity as without unnecessary additions or modifications. Software is shipped close to how its authors released it.

  • Google's home page

    Google's published philosophy says that the home page is clear and simple, and loads instantly: one box for one job.

  • WhatsApp

    Its about page promises simple, secure and reliable messaging. The promise to the user is one sentence.

  • Alpine Linux

    The motto is Small. Simple. Secure. A small system has fewer parts that can be attacked or must be updated.