Sun Aug 14 10:43:25 CEST 2011

QuickCheck as an API design guide

Don Stewart mentions in an xmonad talk[1] that they've been using
QuickCheck as a guide to designing good APIs.  If the QC properties
are very hard to write down, your API sucks.

Another tip I've heard before: keep all your functionality pure.  Only
use thin layer of IO to interface with the outside world.

[1] http://www.ludd.ltu.se/~pj/hw2007/xmonad.mov