lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

It was thus said that the Great Coda Highland once stated:
> On Sat, Apr 20, 2019 at 4:12 PM Sean Conner <> 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?