|more useful options|
Re^6: RFC: Simulating Ruby's "yield" and "blocks" in Perl (Python)by LanX (Sage)
|on Apr 26, 2013 at 14:00 UTC||Need Help??|
> I don't really see a win with this style, though, over giving test a parameter, and just using standard function calls (I had a little play with coroutines on the way but that's really overkill for this).
Well I expected decorators to be more flexible, i.e. to redefine test() by putting a wrapper around it and not to built a new decorator @test (!?!)
But I'm not too proficient with Python, and I'm misunderstanding the code.
(well, there must be a reason why I prefer Perl's syntactic flexibility. ;-)
I suppose def _(a) is a way to workaround the limitations of lamda?
Is the name _ special (magic) or is it just a convention?
( addicted to the Perl Programming Language)