On 10/10/2013 06:03, Marvin Humphrey wrote:
Something to consider is that there's little value in making the Clownfish
core runtime classes extensible. Lucy subclasses Hash, but it's a nasty hack
and we could have just written our own hash table implementation from scratch
anyway.
What do you think of making all the core runtime classes final except for Obj?
There are advantages to limiting ourselves to a single carefully designed
extension point.
This should probably be decided on a case-by-case basis. In
Clownfish::String I would make every method final but it might still be
useful to inherit from String and add new methods.
Nick