Re: A guide to building Lua modules
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: A guide to building Lua modules
- From: Javier Guerra Giraldez <javier@...>
- Date: 2014年4月14日 14:51:01 -0500
On Mon, Apr 14, 2014 at 12:43 PM, Enrique Garcia Cota <kikito@gmail.com> wrote:
> Monkeypatching is a tool. It's a bit more error-prone than others, but
> mostly because it has been around (popularly) less time. There are things
> that can be done only through it. That alone justifies its existence in my
> opinion. But also requires strong reminders of the dangers of not using it
> correctly.
just call it "dependency injection" and you'll be cool again :-)
--
Javier