[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Packaging, 2 last concerns
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 11 Jun 2004 11:26:36 -0300
> What I am saying is that if you do
> http2 = clone(http)
> http2.PROXY = "whatever"
> the implementation will still see the first value of PROXY, unless the
> "clone" function is magic. I believe this is a problem, or is it?
What you could be saying is that modules should not export variables,
only constans and functions. (Or, as Asko wrote, they should be
read-only.) There are lots of people who aggree with that idea.