Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • 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.