Just in time for Valentine's Day: The CUPID properties
SOLID, meet CUPID: 5 properties that make code joyful.Last week, just in time for Valentine’s day, Dan North proposed a set of joyful code properties which he calls by the acronym CUPID:
- Composable: plays well with others
- Unix philosophy: does one thing well
- Predictable: does what you expect
- Idiomatic: feels natural
- Domain-based: the solution domain models the problem domain in language and structure
Why, you may ask? I guess it started as a joke. Nearly a year ago Dan wrote about the CUPID back story.
What are your thoughts on these 5 properties?
And how do you think they compare to SOLID?