lua-users home
lua-l archive

Re: Ah, those uninitiated people...

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


On 2010年1月13日, David Given wrote:
>
> Or for machine-generated code, or for state machines, or for cleanup
> handlers, or as a last-ditch-all-else-fails hack...
>
> [Disclaimer: I am an unashamed goto apologist.]
Tail calls are good for state machines.
ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-443.pdf
Tony.
-- 
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.

AltStyle によって変換されたページ (->オリジナル) /