in reply to Re: Understanding what Inheriting is.
in thread Understanding what Inheriting is.

Prototypes are ignored on method calls, so your prototypes are doing nothing. You should drop them. (I prefer not using them ever. But that is me.)

As for short examples, well OO is aimed at making longer code maintainable, not at making short examples. But still in Re (tilly) 8: To sub or not to sub, that is the question? I gave some code that has appropriate method calls inserted and some explanation for how you would use inheritance.

  • Comment on Re (tilly) 2: Understanding what Inheriting is.