-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2 Apr 2007, at 23:57, Yuval Kogman wrote:
Then just proxy everything:

I shall :)

For the proper distinction between a setter and a method that
accepts arguments (and should still be shadowed) I guess you need
some meta programming, but the value is dubious IMHO.

I don't think I need to make that distinction for what I have in mind. Initially I'm planning /just/ to allow the constructor args to be modified. Unless I've misunderstood you I think that makes the method / s
etting distinction moot.
I think I know how to write it - I'm just curious to know if it
has a name so I can do some more reading and describe it using the
same terminology as the rest of the world :)

I would call it "method shadowing" or "attribute shadowing" if you
do the @args magic or something like that.

Attribute shadowing I think then.

- --
Andy Armstrong, hexten.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGEbXtwoknRJZQnCERAgRxAKCGCg8ZF+Z0pFCvCXTDi7h1cb252ACgkTOB
WWD1gnMOIHx9ilNSRVtWTb0=
=QMaP
-----END PGP SIGNATURE-----

Reply via email to