Hey, that's an interesting article. Thanks for sharing that.
Personally, I'm not convinced inheritance (and arguably over-abstraction) provides more readable code - but there is definitely something to be said for reframing the problem to remove any special cases.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
And in 2005 this article affirmed what you are saying using the Visitor pattern.
Hey, that's an interesting article. Thanks for sharing that.
Personally, I'm not convinced inheritance (and arguably over-abstraction) provides more readable code - but there is definitely something to be said for reframing the problem to remove any special cases.