NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Liskov can bite me (Score:2)
It's important for academics who are more concerned with being correct than useful.
Override nothing! Delegate everything!
Ok, maybe I'm a wee bit bitter after losing a debate about Pathnames, Strings and subclassing.
Re:Liskov can bite me (Score:2)
I think you must be thinking about something else. Liskov doesn't say anything about not being able to override anything. It merely states that a subclass must be substitutable for the parent class without affecting the correctness of a program. You can override all you want, just make sure that the interface doesn't change.
Reply to This
Parent