<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: DevMUD: Inheritable modules --> <!--X-From-R13: Fur Oeebj <neebjNgeryyrobet.znvy.gryvn.pbz> --> <!--X-Date: Thu, 29 Oct 1998 09:56:42 -0800 --> <!--X-Message-Id: Pine.LNX.3.96.981029183651.353A-100000@localhost --> <!--X-Content-Type: text/plain --> <!--X-Reference: 19981028153702.A8875#divcom,slimy.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: DevMUD: Inheritable modules</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:arrow#trelleborg,mail.telia.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="msg00578.html">Previous</a> | <a href="msg00580.html">Next</a> ] Thread: [ <a href="msg00573.html">Previous</a> | <a href="msg00583.html">Next</a> ] Index: [ <A HREF="author.html#00579">Author</A> | <A HREF="#00579">Date</A> | <A HREF="thread.html#00579">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: DevMUD: Inheritable modules</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>: [MUD-Dev] Re: DevMUD: Inheritable modules</LI> <LI><em>From</em>: The Arrow <<A HREF="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</A>></LI> <LI><em>Date</em>: Thu, 29 Oct 1998 18:53:29 +0100 (CET)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> On Wed, 28 Oct 1998, Jon Leonard wrote: > On Wed, Oct 28, 1998 at 07:20:20PM +0100, The Arrow wrote: > > There have been a lot of talk about modules, how to implement them, and how > > to send messages between them. But so far I haven't seen anything about > > inheritable modules. I know it wouldn't be trivial to make a good > > implementation, but once done they might make DevMUD even more OO and > > extensible. What do you think about it? > > I don't want to do OO just for OO's sake. I take the view that different > projects benefit from different programming techniques, and I don't see how > some of them help us here. Of course not. Nothing should be done just for the sake of doing it. (At least thats what I think.) This was just something I thought of right before I went to sleep a few nights ago (many of my best thoughts come then, unfortunatly most of them I forget during sleep). > Interface inheritance: Useful for making modules interchangable. Specify > the interface you want, and any modules that match it (or are a > superset) will work. I like this, and plan to use it for a telnet > module working as a superset of a socket module. It was something like this I thought of when I wrote the mail. The problem with interface inheritance, is how to export the interface. If the modules is written in C++ and we are using external inheritance (as described by Nicklas) the subclassing should be pretty simple. But how should the driver know what interface (and module) to use runtime? / Joachim ====================================================================== The Arrow Email: arrow#trelleborg,mail.telia.com Joachim Pileborg WWW: <A HREF="http://w1.410.telia.com/~u41003102/">http://w1.410.telia.com/~u41003102/</A> ====================================================================== "They say I don't give a shit about anything," -- Magnus Uggla "but I don't give a shit about that." (translated from swedish) </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="00583" HREF="msg00583.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong> <ul compact><li><em>From:</em> Jon Leonard <jleonard#divcom,slimy.com></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00573" HREF="msg00573.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></STRONG> <UL><LI><EM>From:</EM> Jon Leonard <jleonard#divcom,slimy.com></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00578.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00580.html">[MUD-Dev] Re: Recursive look</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00573.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00583.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00579"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00579"><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>[MUD-Dev] Re: DevMUD: Inheritable modules</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00699" HREF="msg00699.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Tue 03 Nov 1998, 04:26 GMT <UL> <LI><strong><A NAME="00703" HREF="msg00703.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Tue 03 Nov 1998, 04:59 GMT </LI> </UL> </LI> </ul> </LI> <LI><strong><A NAME="00570" HREF="msg00570.html">[MUD-Dev] DevMUD: Inheritable modules</A></strong>, The Arrow <a href="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</a>, Wed 28 Oct 1998, 18:23 GMT <UL> <LI><strong><A NAME="00573" HREF="msg00573.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Wed 28 Oct 1998, 23:46 GMT <UL> <LI><strong><A NAME="00579" HREF="msg00579.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, The Arrow <a href="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</a>, Thu 29 Oct 1998, 17:56 GMT <UL> <LI><strong><A NAME="00583" HREF="msg00583.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Fri 30 Oct 1998, 00:48 GMT <UL> <LI><strong><A NAME="00584" HREF="msg00584.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Fri 30 Oct 1998, 02:14 GMT <UL> <LI><strong><A NAME="00602" HREF="msg00602.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Fri 30 Oct 1998, 22:18 GMT <UL> <LI><strong><A NAME="00604" HREF="msg00604.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Fri 30 Oct 1998, 23:58 GMT </LI> </UL> </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>