Skip to content

Instantly share code, notes, and snippets.

@styxyang
Created July 23, 2013 01:04
Show Gist options
  • Save styxyang/6059073 to your computer and use it in GitHub Desktop.
Save styxyang/6059073 to your computer and use it in GitHub Desktop.

On naming and cache

There are only two hard things in Computer Science: cache invalidation and naming things.

-- Phil Karlton

On reusing code

There are two "rules of three" in [software] reuse:

a. It is three times as difficult to build reusable components as single use components, and
b. a reusable component should be tried out in three different applications before it will be sufficiently general to accept into a reuse library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment