Why I'm Excited about D

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 12 11:42:02 PDT 2015


On 4/12/15 10:43 AM, Dicebot wrote:
> It is much better in languages that do support dedicated properties
> because language rules can be used to express the same notion without
> resorting to any conventions.

Wouldn't e.g. C# allow arbitrary code in getters and setters? And if so, 
wouldn't C# code need to resort to conventions to avoid surprising 
behavior? -- Andrei


More information about the Digitalmars-d mailing list