Hacker News new | ask | show | jobs
Design Principles from Leptonica (leptonica.org)
1 points by f0c1s 619 days ago
1 comments

> Provide create() and destroy() functions for all data structures.

Every data structure (almost) must have defaultValue() and errorValue() functions too.