home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!destroyer!gumby!yale!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!tmb
- From: tmb@arolla.idiap.ch (Thomas M. Breuel)
- Newsgroups: comp.object
- Subject: Re: A Pre-Release FAQ
- Date: 3 Jan 93 23:09:07
- Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle
- Perceptive)
- Lines: 21
- Message-ID: <TMB.93Jan3230907@arolla.idiap.ch>
- References: <1992Dec29.042355.10967@netcom.com>
- Reply-To: tmb@idiap.ch
- NNTP-Posting-Host: arolla.idiap.ch
- In-reply-to: Bob Hathaway's message of Tue, 29 Dec 1992 04:23:55 GMT
-
- In article <1992Dec29.042355.10967@netcom.com> Bob Hathaway <objsys@netcom.com> writes:
- What Is an Object?
-
- Simply put, an object is a variable. In classical object-oriented programming,
- this variable has a type (called a class) defining its structure and
- operations (called methods) which may be performed on the object. Classes
- also define inheritance for objects.
-
- Bad start. Variables are names for objects, they are not objects
- themselves. Furthermore, in "classical OO programming", variables
- didn't have types, only objects did.
-
- A better definition might be:
-
- An object is a data structure with a set of operations defined
- on it. An object-oriented language provides special language
- constructs for supporting or even enforcing such an
- association between data structures and operations on them.
-
- Thomas.
-
-