lua-users home
lua-l archive

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


In my opinion, a good lua cookbook *article* (and not just a plain
code snippet) should describe several alternatives and their pros and
cons to how a common problem can be solved.

On Mon, Jan 10, 2011 at 4:48 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> On Mon, Jan 10, 2011 at 10:38 AM, Pierre Chapuis <catwell@archlinux.us> wrote:
>> If we include such a recipe, should we not also mention the fact
>> that the functionality is available as a library in Penlight?
>>
>> http://penlight.luaforge.net/modules/pl.pretty.html#write
>
> since these snippets are supposed to be examples of how things are
> usually done, most of them would (should!) be used on several
> libraries.
>
> i think it would be relevant to include a "used on:..." list where
> similar snippets are found.  maybe with notes about interesting
> differences.
>
>
> --
> Javier
>
>