@property needed or not needed?
Rob T
rob at ucora.com
Wed Dec 5 08:49:22 PST 2012
On Tuesday, 4 December 2012 at 21:58:49 UTC, Regan Heath wrote:
> Exact costs, yes. But syntactic properties can, and have
> historically also given a good indication of costs and this is
> useful. Removing that, is less than useful and potentially
> surprising.
>
> Compare that to what you gain from this change.. nothing useful
> that I can see.
>
> Making variable assignments and function calls look the same
> buys you nothing, you're trying to make apples and oranges look
> like oranges and hide all the nice, useful, detail and
> distinction you get from having both assignments (oranges) and
> function calls (apples) and all that they imply.
>
> R
You can make functions and vars look different through a naming
convention, and do even more if you choose. The enforcement of
the empty () as essentially an enforced naming convention.
--rt
More information about the Digitalmars-d
mailing list