Example: Point Data Type (cont)Point If we changed representation to polar, e.g.
we would need to change the client (which assumes e.g. ADTs allow implementer to change implementation without clients needing any change (except recompilation). This is an extremely useful software engineering property. |