While we're lynching features, how bout' them omittable parens?

Denis Koroskin 2korden at gmail.com
Tue May 19 03:20:57 PDT 2009


On Tue, 19 May 2009 05:53:06 +0400, Nick Sabalausky <a at a.a> wrote:

> "Chad J" <chadjoan at __spam.is.bad__gmail.com> wrote in message
> news:gut1od$l56$1 at digitalmars.com...
>> Lionello Lunesu wrote:
>>>
>>> "Chad J" <chadjoan at __spam.is.bad__gmail.com> wrote in message
>>> news:gut0f2$jc0$1 at digitalmars.com...
>>>> Nevermind properties.  Any chance we can forbid the omittable
>>>> parentheses, at least in the lhs of an assignment expression?
>>>>
>>>
>>> This is not because of the omittable parens. Even with added parens  
>>> that
>>> code should not compile!
>>>
>>
>> Agreed!
>
> I still want to get rid of omittable parens (and function-call-as-a-lhs)
> anyway. They're a horrible substitute for a real property syntax.
>
>

Absolutely agree! Most importantly, if we won't be get rid of them right now (before TDPL is out and D2 stabilized), we will have to wait for it to happen until at least D3.



More information about the Digitalmars-d mailing list