Leandro Lucarella wrote: > Steven Schveighoffer, el 19 de mayo a las 09:54 me escribiste: >>> So for me, properties are way more than just syntax sugar. >> AFAIK, this is not enforced by the compiler... >> >> I write C# properties that have side effects. > > Well, in D2 it would make sense to make mandatory that properties are pure > =)
I think that's a dangerous and unnecessarily limiting road to go down. I don't see any benefit from doing this. For example, this would make it impossible to implement a property that lazilly initialised its storage. -- Daniel
