On 16 January 2012 15:22, Martin Heidegger <m...@leichtgewicht.at> wrote: > > interface IContext { > function get robotlegs_core_destroyed(): Boolean; > } > > because some other interface might have another getter for "destroyed" of > which the robotlegs team > doesn't know in advance.
Method overloading is not a silver bullet and it will definitely not solve the naming conflicts of no-arguments methods (like the destroyed() getter). If your class is implementing two interfaces with conflicting method names it's probably trying to do too much. Cheers, Iwo