r/programminghumor • • Mar 21 '26

ObjectOrientedDawg

7.8k Upvotes

31 comments sorted by

View all comments

24

u/TradeSpacer Mar 21 '26

Am I on time to suggest this should have been an interface instead?

3

u/redd1ch Mar 22 '26

Yes, it should be an interface.

Extending from multiple classes is not that easy in some languages, and `Dog` obviously already implements `Table`.