On Monday, 12 December 2011 at 15:14:02 UTC, Andrei Alexandrescu
wrote:
On 12/12/11 9:07 AM, Jakob Ovrum wrote:
If the programmer sees just "r.save", he
doesn't know whether it's a field or a property, and he
shouldn't need
to know, it should be fast and cheap, and return a consistent
value. As
far as I know, this isn't always true for save
Why? Save does behave like a field for the vast majority of
structs.
Andrei
But save is an abstract interface function, its signature should
reflect all possible implementations.