Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • "Why the Liskov Substitution Principle is important."

    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.

    • 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.