Re: Object, thing, creature, and methods...???
- From: "Phlip" <phlipcpp@xxxxxxxxx>
- Date: Wed, 31 Aug 2005 12:50:31 GMT
Robert Bralic wrote:
> Can anybody tell me what is diference
> in object programming beetween object,
> thing, and creature....
The definition of "object" is a great matter of debate on this forum, where
we discuss Object Oriented programming. It is a part of a program with
identity, state, a lifespan, a group of methods, and an inheritance of
default state and methods.
Things and creatures are topics of various tutorials on OO programming, and
their definition varies.
> And how methods can universaly bee
> developed to objects, things, and creatures...??
Methods are not universal. Each object in an OO system responds to specific
messages by executing specific methods. Messages are the names of methods,
and methods are functions bound to that object to provide its behavior.
>From here, read /Design Patterns/ to learn how to write OO programs, and
what some healthy OO designs look like. No things or creatures.
--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
.
- References:
- Object, thing, creature, and methods...???
- From: Robert Bralic
- Object, thing, creature, and methods...???
- Prev by Date: Coordination in OO
- Next by Date: Re: chooses not to generate code at all
- Previous by thread: Object, thing, creature, and methods...???
- Next by thread: Coordination in OO
- Index(es):
Relevant Pages
|