-
Notifications
You must be signed in to change notification settings - Fork 245
Design philosophy
Alexandre Bury edited this page May 31, 2015
·
2 revisions
A few core concepts are important in the design:
- DRY: Don't repeat yourself: any code duplication is bad, really bad.
- Convention over Configuration: works together with the previous one, but we should provide meaningful default values as much as possible.
- Example-driven development: a variant of test-driven development, every feature must be implemented with an example in mind. Keeping the example as simple and pleasant to write as possible is one of the main goals.
- Minimality: The idea when writing the library is to build a base: a minimal spanning set. That is, the minimal number of components that allows to build anything. This also works well with the DRY idea, because features are not duplicated.