3 ms·
for me to abstract, is to elevate a concept to a parent category so that operations are interchangeable with other siblings. Wether to know if something is an
by alfonsodev 5y ago
for me to abstract, is to elevate a concept to a parent category so that operations are interchangeable with other siblings.
Wether to know if something is an abstraction, could be tested by asking, is this thing useful to operate with different child categories in just one place ?
When you have an abstraction with just one child category, rather than useful is just confusing.
For example if in your universe would exist just on type of Vehicle called Car, but you would use Vehicle abstraction.