in reply to Smaller than an object?

I'd call it an object. It's encapsulated data associated with behavior. (Dominus didn't fall for that question in his Iterators and Generators talk.)

Replies are listed 'Best First'.
Re: Smaller than an object?
by Abigail-II (Bishop) on Aug 22, 2002 at 11:15 UTC
    Some say an object is data that knows which methods apply to it, while closures are methods that know which data to act on.

    I wouldn't call it an object because you cannot point to it. You can't pass it someone else. The methods however can be pointed at (trivially, they have a name).

    Abigail