Re: Jeremy's Documentation

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 09/09/97


On Tue, 9 Sep 1997, Cris Jacobin wrote:

-+       If Jeremy's documentation is going to be a 123 recipe for code changes,
-+then maybe B12 should be the only mud where the cleric and warrior classes
-+are intentionally left out, and it's up to you to follow the documentation
-+on how to add a class, spell and skill.  ;)

Actually, it's not a bad idea to remove all the classes and just place
the base code in for supporting them.  Supporting arguments:

  * Classes are very easy to add under the CircleMUD code now-a-days.
    So if someone wants the base warrior/cleric/mage/thief code, it
    wouldn't be terribly hard to implement; especially if (most) of
    the skills/spells are left in, cleaned-up, generalized, etc.

  * Classes like warrior/cleric/mage/thief are rather difficult to
    remove, though.  Since they are the four stock classes, they get
    ingrained throughout the entire code, where 'if()' or 'switch()'
    blocks are used instead of the use of an array to contain the
    information (things that can benefit from this are scattered
    generously throughout the code).

  * A good abstraction and encapsulation of the class code will help
    further the readability, flexibility, and "stockedness" of the
    code.

-+        It could be a good litmus test for those questions you say you get.
-+        "Hey don't run circle, you got to know what you're doing!"

Technically, this is already said.  You should know how to code in C.
Therefore, you should know how to look at the code.  Therefore, you
should be able to locate things if you bother to look for long enough.
Or, if you don't find it there, you should have the intelligence to
look at the FAQ.  So on, and so forth.  With all of the CircleMUD
resources availible to a competent person, only an unconscious, zombie-like
newbie would need to ask a question.  And if coding.doc is completed,
then only illiterate, or very stupid newbies would have to ask those
questions.


--
Daniel Koepke -:- dkoepke@california..com -:-  [Shadowlord/Nether]
Think.


     +------------------------------------------------------------+
     | 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/08/00 PST