msg00679.html
2000Q1/msg00679.html · 10.6 KB
From the archive 2000Q1.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Object and class heirarchies -- are they really necessary? -->
<!--X-From-R13: Bne Ivamryy <mryyNnylk.pbz> -->
<!--X-Date: Tue, 21 Mar 2000 15:11:43 -0800 -->
<!--X-Message-Id: 14551.65272.614292.445363#alyx,skotos.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: E12XVws-0001DB-00#under,eng.cp.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Object and class heirarchies -- are they really </title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:zell#alyx,com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">
<font size="+4" color="#804040">
<strong><em>MUD-Dev<br>mailing list archive</em></strong>
</font>
<br>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00678.html">Previous</a>
| <a href="msg00680.html">Next</a>
]
Thread:
[ <a href="msg00678.html">Previous</a>
| <a href="msg00680.html">Next</a>
]
Index:
[ <A HREF="author.html#00679">Author</A>
| <A HREF="#00679">Date</A>
| <A HREF="thread.html#00679">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</LI>
<LI><em>From</em>: Par Winzell <<A HREF="mailto:zell#alyx,com">zell#alyx,com</A>></LI>
<LI><em>Date</em>: Tue, 21 Mar 2000 15:00:08 -0800 (PST)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
<LI><em>User-Agent</em>: WEMI/1.12.1 (Kusanagi) FLIM/1.12.7 (Y.Dþzaki) Emacs/19.34 (i386-debian-linux-gnu)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
J C Lawrence writes:
> This surprised me as I'd been tending in that direction myself
> without ever having noticed.
I believe your precise expression was, "You bastards!" :-)
> Christopher commented that they do the same things (assembling their
> super-class from more malleable single-purpose pieces) -- except
> that they do it conciously and with intent aforethought.
We actually did start out with the usual subclassing approach, but
before too long it became clear that (especially with a persistent
system) a more data-driven approach was preferable... or at least a
very interesting experiment. So, we made thing.c inherit everything
else and that was that. Pretty much.
My favourite benefit of this approach is the same one that e.g. Diku
has over most LPMuds... that you nail down in the implementation of
the single physical class the entireity of the feature set... and as
a consequence, all physical objects are guaranteed to respond sanely
to a known set of actions.
After you spend some time playing a Diku, you start developing faith
in the integrity of the virtual reality, in the thingness of things.
I believe this is one of the most important attributes an imaginary
world can possess. In fact, it is not so dissimilar to the challenges
an author of (especially speculative) fiction faces when she sets out
to develop a world: the world can be crazy, but if it does not have
internal consistency, it leaves the reader/player feeling almost ill.
LPMuds usually fail miserably in this regard. Where on a Diku, things
are constructed basically through configuration, LPMuds are very much
programmed. While in theory the Diku model is a strict subset of the
LPMud one, in practice most LPMud world builders implement behaviour
of their objects by assembling ancient fragments of code taken from
examples and each other, and filling in the cracks through guesswork.
As a result, walking through the average LPMud area is an assault of
sub-standard code, reality flickering like a cheap monitor.
So though in theory, with competent and _disciplined_ developers, the
LPMud can be everything a Diku can and then some, in practice there's
no question which code base I prefer to be a player in. Since Skotos
uses DGD, an LP driver, we must attempt to conjure up this discipline
largely through our world implementation (and developer interface).
Now, I realize I'm twisting the argument a bit; at this point, I am
advocating world building through configuration (as opposed to code),
and that's different from one physical object type versus many. But,
of course, there is a connection: with one physical object, the data
dictates the behaviour and so configuration becomes everything. Code
is still a factor, but it is more functional than procedural, and it
is referenced as data more than it is called. In the case of Skotos,
data is made dynamic through our own markup language, which follows
XML syntax, the tags/elements of which are implemented in LPC. This
set of elements can be extended by world builders.
> When your entire inheritance tree (from an object's perspective) is
> that you all descend from the same super-class -- how do you handle
> multi-user security and access controls for editing the consituent
> components of that super-class?
In our case, and I think mast, there are two levels -- the basic class
that The Powers That Be modifies, and many groups that instantiate or
subclass the basic class, but not really each others' classes.
So builders are affected by changes that we do, but that's it. There
are not really security hierarchies... in my experience it is usually
a mistake to depend, inheritance-wise, on something over which you do
not have control.
Par
_______________________________________________
MUD-Dev mailing list
MUD-Dev#kanga,nu
<A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00681" HREF="msg00681.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>
<ul compact><li><em>From:</em> Kevin Littlejohn <darius#connect,com.au></li></ul>
<li><strong><A NAME="00680" HREF="msg00680.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>
<ul compact><li><em>From:</em> J C Lawrence <claw#cp,net></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00675" HREF="msg00675.html">[MUD-Dev] Object and class heirarchies -- are they really necessary?</A></STRONG>
<UL><LI><EM>From:</EM> J C Lawrence <claw#cp,net></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00678.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00680.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00678.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00680.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00679"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00679"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>RE: [MUD-Dev] Gamasutra: Online Justice Systems</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00771" HREF="msg00771.html">RE: [MUD-Dev] Gamasutra: Online Justice Systems</A></strong>,
Sayeed <a href="mailto:yu219121#YorkU,CA">yu219121#YorkU,CA</a>, Tue 28 Mar 2000, 22:58 GMT
</LI>
</ul>
</ul>
<LI><strong><A NAME="00758" HREF="msg00758.html">Re: [MUD-Dev] Gamasutra: Online Justice Systems</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Tue 28 Mar 2000, 20:26 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00675" HREF="msg00675.html">[MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>,
J C Lawrence <a href="mailto:claw#cp,net">claw#cp,net</a>, Tue 21 Mar 2000, 21:12 GMT
<UL>
<LI><strong><A NAME="00678" HREF="msg00678.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>,
scott guzman <a href="mailto:shade2x#home,com">shade2x#home,com</a>, Tue 21 Mar 2000, 21:55 GMT
</LI>
<LI><strong><A NAME="00679" HREF="msg00679.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>,
Par Winzell <a href="mailto:zell#alyx,com">zell#alyx,com</a>, Tue 21 Mar 2000, 23:11 GMT
<UL>
<LI><strong><A NAME="00680" HREF="msg00680.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>,
J C Lawrence <a href="mailto:claw#cp,net">claw#cp,net</a>, Tue 21 Mar 2000, 23:57 GMT
<UL>
<LI><strong><A NAME="00688" HREF="msg00688.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>,
Phillip Lenhardt <a href="mailto:philen#funky,monkey.org">philen#funky,monkey.org</a>, Wed 22 Mar 2000, 06:36 GMT
<UL>
<LI><strong><A NAME="00695" HREF="msg00695.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>,
J C Lawrence <a href="mailto:claw#cp,net">claw#cp,net</a>, Wed 22 Mar 2000, 23:14 GMT
<UL>
<LI><strong><A NAME="00706" HREF="msg00706.html">Re: [MUD-Dev] Object and class heirarchies -- are they really necessary?</A></strong>,
Phillip Lenhardt <a href="mailto:philen#funky,monkey.org">philen#funky,monkey.org</a>, Thu 23 Mar 2000, 06:14 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>