Omissible Parentheses...

Benji Smith dlanguage at benjismith.net
Sat Aug 1 20:49:04 PDT 2009


Andrei Alexandrescu wrote:
> Denis Koroskin wrote:
>> 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.
> 
> http://igsoft.net/dpolls/poll/results.php?pollid=1
> http://igsoft.net/dpolls/poll/results.php?pollid=2
> 
> 
> Andrei

If I'm not mistaken, each of those polls shows a two-to-one preference 
for getting rid of omissable parentheses and introducing a dedicated 
property syntax of some kind.

--benji



More information about the Digitalmars-d mailing list