Sunday, October 23, 2016

Abstraction is a technique for arranging complexity.

I know that's vague. (It's what Wikipedia says.) It's teasing two concerns apart and letting them touch through modest isolation from each other. An abstract class in C# has some extra methods that the thing inheriting from it gets to use, etc. This as opposed to having one big fat class with no inheritance break out. That which gets abstracted out in this case could be repurposed by a second child.

No comments:

Post a Comment