Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gurkenglas/b662d4889a0db8eeceaf66f558b611e8 to your computer and use it in GitHub Desktop.
Save Gurkenglas/b662d4889a0db8eeceaf66f558b611e8 to your computer and use it in GitHub Desktop.

A tool can do no more than the tools it was defined from. Therefore, we might better predict it, and cache new insights.

Therefore, apply that tool when you can, so the reader needs not rederive those insights.

A tool is never longer than its definition. Therefore, it's a good heuristic to shorten your code.

The same goes for text, but then the reader needs definitions, hence the link to this post.

Recursion is the maximally powerful tool of pure code. Its irreducible use is surprisingly rare in practice.

Therefore, seeing recursion in the wild hints at reducibility.

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