DIP4: Properties

Lutger lutger.blijdestijn at gmail.com
Fri Jul 24 14:38:18 PDT 2009


Am I right in thinking that the automated storage is mainly to cut down 
verbosity? What other purpose could it serve? It looks to me the proposal 
could be much simplified by cutting this feature. 

I think the "int foo {get;set;}" syntax may be sufficient and useful for 
keeping simple properties simple though. The advantage over plain fields in 
this case is primarily to keep interface compatibility. Speaking of which, 
how should properties behave in interfaces? 





More information about the Digitalmars-d mailing list