MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: diffs between parent/child location/contents



At 3:36 PM 1/25/96, Kipp the Kidd wrote:
>Why:
>
>parent(obj)   instead of  obj.parent?
>children(obj) instead of  obj.children?

The concept of parents and children is something inherent to an
object-oriented language.

>obj.location  instead of  location(obj)?
>obj.contents  instead of  contents(obj)?

Location and contents, on the other hand, are simply data that are specific
to the implementation of MOO.

This may not be a great explanation, but it's the best one I can think of...

Matt Pauker





Home | Subject Index | Thread Index