Re: Four paradigms for programming Lua apllications
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Four paradigms for programming Lua apllications
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2014年3月31日 14:12:13 +0200
2014年03月31日 11:51 GMT+02:00 steve donovan <steve.j.donovan@gmail.com>:
> As for monkey-patching, as a community we don't like it much,
> particularly for public-facing modules. It has caused great grief to
> the Rubyists...who would be so mad as to redefine 'table.insert'?
Ahem ... me? I once had a version that sacrificed the default position
(one had to use 'append' for that) so that one could insert a vararg.
Wonder from whom I got the idea to sidetrack the append
functionality? <scratch, scratch> Bloke on this list ... wrote
a package called Hang-glider or something like that?