Why Strings as Classes?

bearophile bearophileHUGS at lycos.com
Wed Aug 27 11:20:23 PDT 2008


Denis Koroskin:
> I believe this breaks encapsulation,

You may be right, I'm learning such thematic still. Can you explain why do you think it breaks information hiding?
The two static variables are inside the method, and they can't be seen from outside.

Bye and thank you,
bearophile



More information about the Digitalmars-d mailing list