Re: Object, thing, creature, and methods...???



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!!!


.



Relevant Pages

  • Re: Oblivion AI
    ... >actually think outside it's programming. ... AI programmer for the creatures in Black ... creatures was how it figured out which actions would fulfill a need. ... means that they programmed addicts to have a high "money" need, ...
    (comp.sys.ibm.pc.games.rpg)
  • No technical question.
    ... What the diference between: ... Software Engineer ... Software Developer ... Programming need Developer and so on... ...
    (microsoft.public.vc.language)