On Mon, 18 May 2009 21:53:06 -0400, Nick Sabalausky wrote: > "Chad J" <chadj...@__spam.is.bad__gmail.com> wrote in message > news:[email protected]... >> Lionello Lunesu wrote: >>> >>> "Chad J" <chadj...@__spam.is.bad__gmail.com> wrote in message >>> news:[email protected]... >>>> 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.
I don't like C# properties, IMO it is pointless overhead. I agree you can misuse the omittable parentheses, but what is a "real" property syntax? Seems to me both D and C# provide the same syntax they are just set up differently.
