[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Non-uniqueness of module names
- From: Sean Conner <sean@...>
- Date: Sat, 20 Apr 2019 18:33:22 -0400
It was thus said that the Great Coda Highland once stated:
> On Sat, Apr 20, 2019 at 4:12 PM Sean Conner <sean@conman.org> wrote:
>
> > Okay ... how would you like to see this work? Also, how do other
> > langauges like Python or Ruby handle this? How does npm handle this, given
> > that has like a zillion modules?
> >
>
> npm requires that modules have unique names (first come first serve) and
Okay, pretty much the same as Lua then.
> the import name always matches the directory containing the module. The
Again, pretty much the same as Lua.
> import scheme also does aggressive namespacing so you have to go out of
> your way to do stuff that might screw up some other module's transitive
> dependencies.
Okay, so how does *this* work then?
-spc