Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kaba0
· 3y ago · 0 comments
Subclassing may not always be possible (final class, or method) and can break class invariants. Util classes with helper methods and/or extension methods are not prone to these problems.
Comments
[–]
rogerkeays
3y ago
Yes, inheritance is a nightmare!