Re: Why these errors?
Re: Why these errors?
- Subject: Re: Why these errors?
- From: Axel Luttgens <email@hidden>
- Date: Mon, 10 Feb 2014 19:03:02 +0100
Le 10 févr. 2014 à 17:41, 2551 a écrit :
> Interesting, Jon.
>
> I don’t pretend to be an expert, but your assertion would have more merit if you backed it up with some explanation. The reason I say its not a true OOP language is because you can’t “pass down” either ivars or methods (aka ‘functions’ aka ‘handlers’) from one class to another. Indeed, at least in the way I understand it in languages like Objective-C and Ruby, AS doesn’t recognize ‘classes’ at all , even though it employs the concetps of ‘objects’. “Containment”, however, isn’t “inheritance”.
> [...]
Hello Phil,
I never would pretend to substitute myself to Jon... Anyway, doesn't this one:
script Car
property HasWheels : true
property Maker : "a manufacturer"
on getHasWheels()
return its HasWheels
end getHasWheels
on getMaker()
return its Maker
end getMaker
end script
script Golf
property parent : Car
property Maker : "VAG"
end script
tell Golf
log getHasWheels()
log getMaker()
end tell
show some colors of OOP?
Not even a little bit?
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden