Make dur a property?
Brad Anderson
eco at gnuk.net
Wed Jan 23 12:26:35 PST 2013
On Wednesday, 23 January 2013 at 18:02:05 UTC, Jonathan M Davis
wrote:
> On Wednesday, January 23, 2013 18:03:19 monarch_dodra wrote:
>> So I thought I'd discuss: Would there be a reason to not make
>> dur
>> a property? This should impact no-one, but make ufcs usage that
>> much more convenient. Can I get the go-ahead to make and
>> document
>> the change?
>
> No. It's not conceptually a property, so it shouldn't be marked
> with
> @property. It's a factory function.
>
I agree. It's important we don't conflate properties with
parentheses-less calling. They are two separate things.
I want to be able to call without parentheses but we shouldn't
abuse @property to accomplish it.
BA
More information about the Digitalmars-d
mailing list