From: Csaba Henk Date: 2006-10-02T17:55:11+09:00 Subject: Re: Private visibility should be removed from Ruby 2 [was: Caveats with #method_missing] Tomasz Wegrzanowski wrote: > Ruby object model is almost like Smalltalk's. There are objects that > receive messages and everything is context-independent. The main > difference is that they have two interfaces, not one. They have an > interface for generic messages (like Smalltalk objects), and a special > interface for "implicit self" messages. (from the inside the > difference is much bigger, but that's not important here) I actually see the presence of these two interfaces beneficial. Using aux methods which are not intended to be part of the public interface is unevitable programming practice. The need to take it out from the public interface is also a very basic request. This should be solved in the core language (as others said before, no dozen witty hacky metaprogramming snippets for this, please). If not in the way it is done now, how would you do it? (Well, at least it's clear how not to do it. I think of Python's horrid name manglng...) Csaba