Talk:Object

From Wikipedia, the free encyclopedia

[edit] identical items?

Is there any difference between:

    • An object is a language supported mechanism for binding data tightly with methods that operate on that data.
    • A self-contained entity that consists of both data and procedures to manipulate the data.

--Imz 01:18, 29 October 2005 (UTC)

Good question. There is an important distinction that is not clear from the presentation. On the one hand, there are theoretical constructs (along the lines of ADTs) that are independent of programming languages; on the other hand, there are the language-supported mechanisms supporting the implementation of some variant of the theoretical constructs. Peak 05:16, 29 October 2005 (UTC)