On Thursday, 21 November 2013 at 13:28:01 UTC, Timon Gehr wrote:
On 11/21/2013 02:04 PM, John Colvin wrote:
3) properties decay to normal functions when they have their
address taken
No, why?
properties should be just "variables without address". that is,
taking the address of a property should be forbidden.
if one needs to take the address, then the programmer should not
implement it as a property.
if one programmer tries to convert an existing variable to a
property, then he/she should remove addresses where required.
why so much hassle to think "variable" when speaking about
"property"?