What might this be good for ? For implementing recursion in a lambda function.Writing in functional style, one creates many functions, and looking for reasonable names for these functions becomes unnecessarily painful.
I propose to introduce a reference to the current function, much
like 'this' in a class method. Call it 'self' or 'thisFunc', or
whatever ...
- reference to 'self' inside a function angel
- Re: reference to 'self' inside a function Kevin Cox
- Re: reference to 'self' inside a function H. S. Teoh
- Re: reference to 'self' inside a function Timon Gehr
- Re: reference to 'self' inside a function bearophile
- Re: reference to 'self' inside a function Jonathan M Davis
- Re: reference to 'self' inside a function angel
- Re: reference to 'self' inside a function Eyyub
- Re: reference to 'self' inside a function Era Scarecrow