[e-lang] Bug: Non-composability of __getPropertySlot
Kevin Reid
kpreid at mac.com
Sat Jul 22 23:17:56 EDT 2006
On Jul 22, 2006, at 21:50, Mark S. Miller wrote:
> ... Although it has problems, I'd like to keep the getFoo
> convention. The main problem I've personally encountered with it is
> when an object wants to provide an accessors for getting its Foo
> guard or auditor. If this method were named getFoo, it would imply
> that we're getting something we'd describe as a "foo" rather than a
> "Foo". ...
>
> Perhaps GetFoo for such cases? Yuck; but I have no better suggestion.
Yes, yuck. It is too clever: it only makes sense when you know the
context.
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list