Properties -- another one that gets me

Bill Baxter wbaxter at gmail.com
Tue Jul 28 18:35:33 PDT 2009


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



More information about the Digitalmars-d mailing list