lua-users home
lua-l archive

Re: Injecting names & method chaining (was Re: [ANN] Penlight Libraries, First release)

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


On 04/05/2009 16:21, Henk Boom wrote:
Other than that, you could easily have collisions with other libraries
which also inject similar functions. In this respect using a module
name such as 'stringx' is just as bad, since other people are likely
to use it too.
I think that collision risk is the main issue, indeed, when you mix and match various libraries (particularly those with the proverbial kitchen sink! ;-)). Java people resolved it with the package names using domain names as base, a bit convoluted, but at least minimizing the risks.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --

AltStyle によって変換されたページ (->オリジナル) /