From: Rich Kilmer Date: 2001-09-21T00:39:54+09:00 Subject: [ruby-talk:21440] Re: nested require files need path internally > -----Original Message----- > From: matz@ev.netlab.jp [mailto:matz@ev.netlab.jp]On Behalf Of Yukihiro > Matsumoto > Sent: Thursday, September 20, 2001 11:27 AM > To: ruby-talk ML > Subject: [ruby-talk:21436] Re: nested require files need path internally > ... > > |Should I start naming my files with my_special_identifier_foo.rb > so that I > |don't have filename-space collisions between separate directories? > > If you care about file name conflict, it's better to think about some > kind of prefix, such as 'app/foo', anyway. > > When Sun was trying to address the namespace conflict problem in Java they used domain names (com.sun.???) and wrote it into their "standard". There may be a day when Ruby is installed on lots of machines and the need for library management becomes something that needs to be automatic and not manual. You may already be looking toward this and have ideas in mind...but perhaps a naming of extensions in that way would be positive (i.e.. require "com/domain/app/foo"). I realize its just convention, but if we all use it it removes some of the problems of collision.