any consideration for an interceptor/sequence syntax? although
Function#intercept
and Function#sequence might be handy rather i would find the following
syntax quite useful:
class subcls extends supcls {
intercept function method1() {/*add'l code*/}
sequence function method2() {/*add'l code*/}
}
in lieu of:
class subcls extends supcls {
override function method1() {
super.method1();
//add'l code
}
override function method2() {
//add'l code
super.method2();
}
}
one
benefit is simply conciseness but another would prevent accidentally
calling method1 from method2 incurred by a copy/paste oversight that
the compiler might not warn against. ~ toland
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss