From: Minkoo Seo Date: 2006-06-02T06:52:09+09:00 Subject: Package and Namespace ------=_Part_3375_2099336.1149198726248 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi list. I've found an article on Ruby which criticizes Ruby's lack of package & namespace support. (Sorry I forgot the URL) As you know, every modern language has namespace facility. Even XML does have one to avoid name conflicts. Contrarily, Ruby does not have explicit namespace facility. Though module can provide with namespace facility it is not mandatory and is not being used even in standard library. So, I'd like to ask two questions: 1) Don't you think Ruby need a package/namespace concepts? 2) How would you solve the following problem: [Start of a.rb] # I want to declare class Struct because I love that name so much. # The name Struct perfectly describes my domain problem as well. class Struct end Foo = Struct.new :bar # I'd like to use Struct in standard library. [end of a.rb] Sincerely, Minkoo Seo ------=_Part_3375_2099336.1149198726248--