Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why complicate task models with specialization, composition, and extension?

0
Posted

Why complicate task models with specialization, composition, and extension?

0

Separating out the meaningful common and reusable parts of task cases ultimately simplifies the model overall. Specialization recognizes that some task cases are just specialized variants of other, more generic ones. Just as with inheritance in object-oriented design, we do not have to keep rewriting the generic parts every time we describe a specialized variation. Similarly, composition allows us to construct complicated task cases by having them use other task cases. Extension allows us to keep the base cases that represent the primary or normal course of events clean and simple by separating out the unusual or exceptional interactions.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123