in reply to Re: Re: Re: Re: The world is not object oriented
in thread The world is not object oriented

I don't think that we are going to come to agreement on whether closures are objects.

No, probably not.

I don't think I really made this point very well above (which is my fault), but it's not that I put an absolute stamp on closures as objects. Rather, I think they can be used as a limited form of object, but they're not limited to OO, either.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re^6: The world is not object oriented
by mojotoad (Monsignor) on Jan 05, 2004 at 21:58 UTC
    ...it's not that I put an absolute stamp on closures as objects. Rather, I think they can be used as a limited form of object, but they're not limited to OO, either.

    Imagining this as a Venn diagram, what then, I wonder, would be an appropriate name for the field of endeavor and design that exists in the intersection?

    (I need to know so I can complete my OO model of OO-ish concepts...;)

    Matt