Hacker News new | ask | show | jobs
by necovek 47 days ago
I generally liked Python doctests: runnable documentation. It is really an amazing concept, only a step removed from literate programming IMO.

Two problems with it were that 1. often setup boilerplate overshadowed the actual essence of the documentation and 2. people abused them for e2e testing making for unreasonable reading (and slow testsuite runs).