On Thursday, 24 January 2013 at 21:20:01 UTC, Jonathan M Davis wrote:
We wouldn't have all of these problems if we'd just
gone with a C#-esque property design

http://msdn.microsoft.com/en-us/library/w86s7x04(v=VS.80).aspx

"To the user of an object, a property appears to be a field, accessing the property requires exactly the same syntax."


Say it with me: properties are DATA FIELDS. Function syntax has NOTHING to do with them!

We could change function syntax to require you to draw out some ASCII art of a running cat.... and it shouldn't affect properties one bit.

Optional parens is a matter of function syntax. Properties are data fields, so function syntax doesn't matter to them.

Reply via email to