properties - Why not the set/get syntax?

John C johnch_atms at hotmail.com
Sat Apr 1 03:38:47 PST 2006


"Cris" <central_p at hotmail.com> wrote in message 
news:e0lg9c$27q4$1 at digitaldaemon.com...
> Why the properties in D do not use the set/get syntax? It looks more clear 
> and natural to me.

Which syntax? There are many. C#, VB, Delphi, C++/CLI, Visual C++ ... take 
your pick. (But none exists for Java - purists would tell you it's just so 
very wrong.)

This comes up every few months. So that we don't rehash the same arguments, 
here's the previous thread on this topic: 
http://www.digitalmars.com/d/archives/digitalmars/D/31802.html

John C.





More information about the Digitalmars-d mailing list