Re:Inheritance Often Doesn't Make Sense
by your-nanny on Sunday March 18, 2018 @07:56AM
(#16611543)
Meh. Once you mutate an object it is not the same object it once was either; you've only maintained a stable memory reference and alias, without the overhead of making a new one.
(Streams in this case not being streams in an I/O sense, just an example of a class).