lua-users home
lua-l archive

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



On Sep 17, 2014 11:09 PM, "Geoff Leyland" <geoff_leyland@fastmail.fm> wrote:
>
> On 18/09/2014, at 1:53 pm, Rena <hyperhacker@gmail.com> wrote:
>
> > Generalize the shared code into a standalone module which those modules use?
>
> Yes, that was the first option above.  I guess I'd just feel a bit silly releasing a 100-line module that has no use on its own.  The license and readme will be longer than the code.

I would split it as separate modules. Sometimes things that start as an unpretentious 100 line script evolve a life of their own as other people find it and start contributing (it happened, for example, with luacov).

Sometimes we tend to devalue our own code as silly but you don't really know till you get it out there :) Also, you might end up encouraging the development of other new compatible modules for more file formats.

-- Hisham