Hello ArdentKid,
Thank you for being so thorough with updating your tutorials to help us too. I did realize some time ago when I was trying to implement inheritance with your framework, that your former approach was not exactly OO but I do think that for simpler, less inheritance-intensive purposes it is still a valid approach.
I do wonder one thing in your revised tutorials.
In your subclasses Animal and Cat, near the beginning of their scripts, you are creating a local variable “Super” into which you load the respective super class script. You then reference this local variable whenever you need to access parent variables/methods.
Is that local "Super"variable not redundant? I thought that the call Class([parentClass]) took care of creating a “super” variable that directed to the parent class.
Is there any particular reason why you are creating this local “Super” variable in each subclass?
Thank you for your continued help! [import]uid: 142439 topic_id: 33679 reply_id: 143141[/import]