Re: Circlemud design issues

From: Judson Powers (powers@RJSONLINE.NET)
Date: 04/23/98


IMO, Circle should switch over to C++.  Not only does it tend to be more
well-organized and understandable, the use of accessor functions lets you
do a whole lot with the code that's difficult to impossible using the
current structure.

Polymorphing would be a good example.  If you polymorph "Darien", a player,
into "a big grey wolf", all of your data access macros are directly
accessing his stats -- you'd have to change the stats in his record and
store the originals elsewhere to pull it off.  (Unless I'm totally
overlooking something, or unless you want to add a _lot_ of code.)
Accessor functions, on the other hand, make this a rather simple operation.
 And with compiler settings, they inline automatically!

Judson Powers                 Morgaelin MUD
powers@rjsonline.net          telnet://mud.dwango.com:3000/

"Friends help you move... real friends help you move bodies."


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST