lua-users home
lua-l archive

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


Quoth Drake Wilson <drake@begriffli.ch>, on 2010-11-19 19:01:12 -0700:
> Quoth KHMan <keinhong@gmail.com>, on 2010-11-20 09:36:14 +0800:
> > Even if two libraries are a teeny bit different, sharing a set of
> > names is no biggie.
> 
> The main reason this fails is recursive dependencies.  If library A
> uses bit manipulation and requires semantics X, and library B uses bit
> manipulation and requires incompatible semantics Y, where do they get
> their bit modules?  If the answer is that they both get them from the
> global named "bit", which can only have one value, using libraries A
> and B in the same project becomes a nightmare for no particular
> reason.

Oh, no, whoops, I misread your message completely; you _were_ talking
about using two different module names.  D'oh!

Never mind.  :-)

   ---> Drake Wilson