Paul Rubin wrote: > Bruno Desthuilliers <[EMAIL PROTECTED]> writes: > >>>Ruby has nice security system (private, protected, public scopes >>>for methods and attributes, >> >>This is not "security", this is data-hiding. And IIRC, Ruby's attributes >>are always private - just like in Smalltalk FWIW. > > > I don't know anything about Ruby, but if it's supposed to be like > Java, then it's real security.
Hopefully it's more secure than Java wrt/ attributes/methods access restriction. IIRC, accessing a 'private' attribute thru reflection is quite possible in Java. > I'm not sure why a typical server side > app would care, though. Noticed this too ?-) -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- http://mail.python.org/mailman/listinfo/python-list