NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Awkward angles (Score:1)
Well, OTOH, Python does have this thing where you can “call” an object as if it were a function, which will invoke the
__call__method on the object. So a function and an object-that-provides-__call__are interchangeable in Python, which makes the latter a sort of closure.Except it doesn’t have any of the syntactical sugar of a closure.
Then again, you wouldn’t know, since scopes are weird in Python anyway.
I, uhm… guess it’s an odd language.