Daily Shaarli

All links of one day in a single page.

December 23, 2013

Poo in three sentence

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.