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.

How is refinement different from standard sub-classing or sub-typing?

different Refinement standard
0
Posted

How is refinement different from standard sub-classing or sub-typing?

0

In some important ways. When you subclass, the implementation of the child class is defined in terms of its parent, including all the instance variables and methods. Similarly, when you subtype, the child type is defined in terms of its parent, including all its attributes and action specifications. Refinement is more general. With refinement, you are taking two different levels of abstraction (e.g. an interface spec and an implementation class, or an abstract action and a detailed interaction protocol to realize it), each with its own models (attributes vs. instance variables, action specs vs. procedural method bodies), and showing the mapping between them. Details coming soon.

What is your question?

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

Experts123