Comment Comment by sterasody Thanks for your reply! I will need more research to reflect on the examples you give.I discovered the concept from books and documentations, for example:- https://learn.adacore.com/courses/intro-to-ada/chapters/cont...- https://www.eiffel.org/doc/solutions/Design_by_Contract_and_...and it seemed to me the main concern was program correctness/consistency.Maybe I mix up different concerns and good interface design is more about satisfying use case? parent sterasody 3 years ago
I discovered the concept from books and documentations, for example:
- https://learn.adacore.com/courses/intro-to-ada/chapters/cont...
- https://www.eiffel.org/doc/solutions/Design_by_Contract_and_...
and it seemed to me the main concern was program correctness/consistency.
Maybe I mix up different concerns and good interface design is more about satisfying use case?