while i think this should be a preference, i like that
properties are private by default. this forces me each time to
think to write methods for classes and not to access it's
properties directly
matthias
Le lundi 29 juillet 2002, à 10:25 PM, Don Lavelle a écrit :
Is there any worthwhile way to make it so that properties are
not private by default? (Yes, I'm aware that this goes back to
that laziness thread of a few days ago.) I usually don't do
proper encapsulation in RB. [Just my personal style.
Explinations available upon request =) ]
---------------------------------------------------------
Matthias Buercher matti at belle-nuit dot com www.belle-nuit.com
---------------------------------------------------------
|