2011/8/12 Andreas Rossberg <[email protected]> > On 12 August 2011 13:53, Tom Van Cutsem <[email protected]> wrote: > > I think I found a compelling and easy-to-understand > > rule for determining whether or not a trap needs access to > proxy/receiver: > > if the trap deals with inherited properties, it needs access to |proxy|. > > [...] > > Although that rule seems fairly simple, I still find a half/half > situation unnecessarily confusing and error-prone. I would strongly > vote for making the API consistent. That is, either equip all methods > with a proxy argument (preferably as first), or none. >
Despite the simple rule, I too would prefer passing |proxy| to all traps (but not as first argument), even though, as Brendan noted, it's not strictly necessary and consistency in one dimension sacrifices consistency in another. It would be good to hear more opinions on this. Cheers, Tom
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

