[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.2 and 5.1
- From: Petite Abeille <petite.abeille@...>
- Date: Wed, 10 Apr 2013 21:42:20 +0200
On Apr 10, 2013, at 12:07 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Messing around with package.loaded qualifies as obfuscated code.
Meh… it's what most loaders do… plus, it's one of the few way to make modules concatenable (ala luac or plain cat).
In other words, 'return' forces the physical representation of a module down one's throat (one file ~= one module). package.loaded liberates one from the tyranny of files. YMMV.
- References:
- 5.2 and 5.1, David Burgess
- Re: 5.2 and 5.1, Matthew Wild
- Re: 5.2 and 5.1, Luiz Henrique de Figueiredo
- Re: 5.2 and 5.1, Miles Bader
- Re: 5.2 and 5.1, David Burgess
- Re: 5.2 and 5.1, Coda Highland
- Re: 5.2 and 5.1, steve donovan
- Re: 5.2 and 5.1, Joshua Jensen
- Re: 5.2 and 5.1, steve donovan
- Re: 5.2 and 5.1, Dirk Laurie
- Re: 5.2 and 5.1, steve donovan
- Re: 5.2 and 5.1, Dirk Laurie
- Re: 5.2 and 5.1, Andrew Starks
- Re: 5.2 and 5.1, steve donovan
- Re: 5.2 and 5.1, Dirk Laurie
- Re: 5.2 and 5.1, steve donovan
- Re: 5.2 and 5.1, Dirk Laurie
- Re: 5.2 and 5.1, steve donovan
- Re: 5.2 and 5.1, Dirk Laurie