D
Walter Bright
newshound1 at digitalmars.com
Sat Nov 15 17:32:27 PST 2008
Brad Roberts wrote:
> Walter Bright wrote:
>> Tim M wrote:
>>> I think you're thinking of Java. Those guys are shit scared of public
>>> properties. Get & Set for everything.
>> I never really understood the fear of that, either.
>
> Getters/Setters makes up for lack of 'const'. Can't change it if
> there's no setters. Also, setters are important for all of java's
> reflection systems, especially the IoC systems such as spring.
Yes, but I see people use it everywhere because "it's the right way to
program."
More information about the Digitalmars-d
mailing list