From: Alan Chen Date: 2001-10-25T00:14:18+09:00 Subject: [ruby-talk:23201] Re: Bruce Eckel's opinion of Ruby On Wed, Oct 24, 2001 at 03:04:04PM +0900, Emiliano wrote: > Alan Chen wrote: > > > All large scale development languages allow access to private data, > > its a matter of how much pain you want to put the developer through if > > they elect to access a non-public interface. FWIW, I suspect that it > > would be easy to write a module to disable the send and method > > functions in a class. (or provide a warning if you'd prefer) > > But it still wouldn't be the default behaviour. Having class-private > data available publicly by default isn't correct in my book. You have > to choose what to make part of your public interface. IMO, of course. > > Emile The funny thing is that it's pretty easy to access private variables in Python. They just get name mangled, but are still accessible. -- Alan Chen President and Lead Developer Digikata LLC alan@digikata.com http://digikata.com