Re:The Haskell / Snap ecosystem is as productive (or more) t...
by Produce on Friday April 27, 2012 @08:38AM
(#3898766)
I would consider having any final classes in a standard library to be a failure. One of the pillars of OOP is extensibility.
Re:The Haskell / Snap ecosystem is as productive (or more) t...
by pjmlp on Friday April 27, 2012 @10:59AM
(#3899327)
Then you should learn about the fragile base class problem,
http://www.cas.mcmaster.ca/~emil/Publications_files/Mikhajlo...
API design is a very complex issue. Any change in a base class can have unintended consequences.
Specially in components sold as libraries to development companies, where you as a customer don't have access to the source code.
You're right, one of the OOP pillars is extensibility, but inheritance is just one way of doing it.
String is final in most languages OO languages.