[mtasc] MTASC and the Decorator pattern...
ncannasse at motion-twin.com
Wed Dec 1 10:25:53 CET 2004
> In cases where a method is dynamically attached to another class'
> prototype object, the use of 'super' may make absolute sense, and for
> this reason I would argue against compile-time checking of super.
> Certainly it means that I cannot use MTASC for my applications as the
> Decorator pattern is used so heavily in the Macromedia component base
> classes that rewriting them would be impractical.
I'm pragmatic. If some MTASC users needs to remove the super compile-time
compilation check, so I'll do it. It's not a very important test, since
users starting writing some super calls are expected to know what they're
More information about the mtasc