Properties -- another one that gets me
Ary Borenszweig
ary at esperanto.org.ar
Tue Jul 28 18:44:41 PDT 2009
Bill Baxter escribió:
> Just remembered this other real example of a D property that caused me
> discomfort:
>
> .transform
>
> I wanted it to be an unambiguous property that returns the transform
> of an object, but it's too easy to misinterpret as an action that
> transforms the object if it can be called as
>
> .transform().
>
> --bb
Maybe we should start programming in another natural language and that's it.
More information about the Digitalmars-d
mailing list