lua-users home
lua-l archive

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


2009/6/1 Linker <linker.m.lin@gmail.com>:
> Hi,
>   Event-driven is no a good choice for lua programming.Coroutine is a better
> choice.

I'm not sure how these are incompatible. My usual use of coroutines is
to ease the writing of event callbacks, for example, to avoid having
to hand-code state-machines for update callbacks.

    Henk