property keyword

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Fri Sep 25 02:51:46 PDT 2009


Gzp wrote:
> Hello,
> 
> I'm quite new to D, and it seems to be a great language for me.
> But I've some questions:
> 
> Why is it good to treat functions as property, it make the code quite
> unreadable. With a simple property keyword the things were much clear, like:

Hello, and welcome! :)

There was a HUGE discussion about this not so long ago. Check out the 
newsgroup archives for August and July -- it's all about properties...

   http://www.digitalmars.com/d/archives/digitalmars/D/index.html

-Lars



More information about the Digitalmars-d mailing list