property keyword

2009-09-25 Thread Gzp
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: class Foo { property prop {

Re: property keyword

2009-09-25 Thread Lars T. Kyllingstad
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! :) T

Re: property keyword

2009-09-25 Thread Lars T. Kyllingstad
Lars T. Kyllingstad wrote: 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, lik

Re: property keyword

2009-09-25 Thread Gzp
Thanks, i've found it. Gzp

Re: property keyword

2009-09-25 Thread Chad J
http://prowiki.org/wiki4d/wiki.cgi?DocComments/Property

Re: property keyword

2009-09-25 Thread BCS
Hello Gzp, Hello, I'm quite new to D, and it seems to be a great language for me. But I've some questions: Hi! 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: class Foo { pro