Properties -- another one that gets me

2009-07-28 Thread Bill Baxter
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(). --

Re: Properties -- another one that gets me

2009-07-28 Thread Ary Borenszweig
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

Re: Properties -- another one that gets me

2009-07-29 Thread downs
Bill Baxter wrote: > 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

Re: Properties -- another one that gets me

2009-07-29 Thread Bill Baxter
On Wed, Jul 29, 2009 at 8:11 AM, downs wrote: > Bill Baxter wrote: >> 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 misinterpre

Re: Properties -- another one that gets me

2009-07-29 Thread downs
Bill Baxter wrote: > On Wed, Jul 29, 2009 at 8:11 AM, downs wrote: >> Bill Baxter wrote: >>> 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