lua-users home
lua-l archive

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


On Thu, Jan 04, 2001 at 02:06:27PM -0200, Luiz Henrique de Figueiredo wrote:
> >What I'd love to see, is the ability to get a ref to the 'current'
> >function, perhaps as an implicit variable, a bit like 'this' in java and
> >C++.
> 
> This "need" comes up every once in a while.
> But is this really needed?
> I agree that a language solution would be nice, but I can't see one nor can I
> see a real need for this. How common are such recursive functions?

Often, if you write the evil code I do ;-)