From: Eero Saynatkari Date: 2009-02-27T23:39:17+09:00 Subject: [ruby-core:22571] Re: YASNP (Yet Another Selector Namespace Proposal) Excerpts from Headius: Charles Oliver Nutter's message of Fri Feb 27 07:58:52 +0200 2009: > Here's a perfect example, also based on rake: "import" > > JRuby added an "import" for Java classes that ends up conflicting with > the "import" Rake uses. So we've had no end of hassle because we both > want that top-level "import" name and both of them do drastically > different things. If we had namespaces, people could have avoided this > very easily: > > import "my_other_rakefile" > > using JRuby::Import > import java.lang.System > end Not sure this is the best use case? JRuby.import java.lang.System # Or even Java.import lang.System java.lang.System.import! -- Magic is insufficiently advanced technology.