4 ms·
I think the problem here is with inheritance, which I personally consider a code smell. There are few specific places when you need it, and by using inheritance
by TeMPOraL 10y ago
I think the problem here is with inheritance, which I personally consider a code smell. There are few specific places when you need it, and by using inheritance there you're strongly signalling a particular abstraction happening - one of the "is-a" type. It definitely should not be used for just code deduplication.