Omissible Parentheses...
Michel Fortin
michel.fortin at michelf.com
Sat Aug 1 10:39:16 PDT 2009
On 2009-08-01 13:05:26 -0400, "Denis Koroskin" <2korden at gmail.com> said:
> On Sat, 01 Aug 2009 21:04:43 +0400, Chad J
> <chadjoan at __spam.is.bad__gmail.com> wrote:
>
>> Omissible Parentheses
>>
>> Could someone remind me why we don't remove these?
>>
>> So far I have
>> - They save typing.
>> - Removing them breaks backwards compatibility.
>> - They allow some features of properties, but with a list of limitations
>> and gotchas.
>>
>> This is not intended to be a deep discussion. I'm writing a piece on
>> properties, so I'm gathering information.
>
> Andrei likes them.
I like them too, despite their gotchas. If they were not cause for
special rules when returning delegates, also classes and structs with
an opCall member, I'd want to keep them.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list