Make dur a property?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Jan 23 15:35:24 PST 2013


On 1/23/13 5:32 PM, Nick Sabalausky wrote:
> I'd rather not see more "Sometimes the language lets me skip XXXX, and
> sometimes it complains" get introduced into the language. That
> complicates the language and makes the language harder to understand.
>
> There are cases where that strategy has certainly made sense, but at
> this point I think you're just grasping for ways to justify leaving in
> the non-beneficial "Use either 'foo' or 'foo()', whichever you want,
> anytime you want" sloppiness. And making sure that non-feature can
> remain by introducing more special-cases into the language to patch
> over the problems with the non-feature.

UFCS has effectively buried the case for requiring parens.

Andrei



More information about the Digitalmars-d mailing list