> now addressed with packwerk from what I understand. Ah, not exactly (or at least not entirely), but that's another story! :sob:shioyama (Chris Salzberg)
Thanks, that makes sense. In one way we're not far apart. In another, though, I think we still are, because the difference is really between whether control is delegated to the caller or the callee. "isolation", which is what I'm after ...shioyama (Chris Salzberg)
> Our main discrepancy is that I don't like implicit nesting. I want you to open a file and see what it defines. Agreed. > ... Between an app and its gems, yes (at the cost of what I consider boilerplate). Between two gems, there is no...shioyama (Chris Salzberg)
> The question was: If `/foo` is a root directory, and you want to associate to it an anonymous module as custom namespace, how would `/foo/bar.rb` look like? Sorry, I read your comment too quickly. I actually removed the entire conce...shioyama (Chris Salzberg)
I wrote: > I personally do not believe this is necessary. In fact, I realized this is not quite complete. I don't want to require file-level changes for two reasons. One, it requires changes to every file to make a project (gem or oth...shioyama (Chris Salzberg)
> Let's talk anonymous namespaces for a moment in Zeitwerk. If you could assign an anonymous namespace to `/foo` in Zeitwerk, what would go in the top-level `class` or `module` keyword in `/foo/baz.rb`? I think this is the key point whe...shioyama (Chris Salzberg)
Thanks @fxn for your reply! I was going to update this, but I brought it up at the recent [Dev Meeting](https://bugs.ruby-lang.org/issues/19599#note-14) before RubyKaigi and although there was interest, Matz seemed not to be in favour of...shioyama (Chris Salzberg)
@byroot pointed out today that if it was possible to both register a require path _and_ a block to an autoloaded constant, then this feature may also allow replacing the [Tracepoint class event](https://github.com/fxn/zeitwerk/blob/a7c4a...shioyama (Chris Salzberg)
cc @fxn I know you're not in favour of what I'm doing with autoloads on anonymous modules, but hoping you'd agree this would be a useful thing to have in general and for Zeitwerk specifically. I haven't actually walked through the ful...shioyama (Chris Salzberg)