class extensions

Downs default_357-line at yahoo.de
Wed Aug 29 13:00:17 PDT 2007


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

Bill Baxter wrote:
> But Walter seems to think it's ok the way it is.  Given that, I can
> definitely see how he'd think making a.foo uniformly interchangable with
> foo(a) makes sense.  I guess with property syntax and this combined
> we'll have
>    "a.value" == "value(a)" == "value = a"
> 
> Which seems pretty weird to me.
> 
> --bb

I actually welcome this as a straightforward way to enable coders to
write out what they mean.
Of course, it can be abused for stuff like writefln="whee", but in many
cases, abusability is related to the power/expressiveness of a feature -
if you can use it to express more, it follows that you can also use it
to express more garbage; however, that doesn't mean you have to.
 --downs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1dBQpEPJRr05fBERAvSWAJ9oE3i7jIcSRnuiXVfFCz+SgFCARACfQTse
ax7kN3DRe9CdOeC+ac+ihbE=
=abAO
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list