home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: rec.games.mud.misc
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!psuvax1!atlantis.psu.edu!handel!stine
- From: stine@handel.psu.edu (Jeffrey Stine)
- Subject: Re: Note to any fellow DikuMUD coders...
- Message-ID: <e961H_8!pb@atlantis.psu.edu>
- Sender: news@atlantis.psu.edu (Usenet)
- Organization: Penn State University
- References: <Bzy9ps.3FF@math.okstate.edu> <mj22Hvjmpb@atlantis.psu.edu> <1992Dec28.231606.6328@cs.mun.ca>
- Date: Tue, 29 Dec 92 07:55:03 GMT
- Lines: 38
-
- In article <1992Dec28.231606.6328@cs.mun.ca> matthew@cs.mun.ca (Matthew J. Newhook) writes:
- >stine@handel.psu.edu (Jeffrey Stine) writes:
- >> And as I believe was more or less pointed out earlier, programming practices
- >>are much a matter of opinion and have less to do with being "good" or "bad".
- >
- >Well, I certainly disagree with this. There is a significant
- >difference between bad code and good code. And most of this is _not_
- >subjective. If the code is spaghetti code then it is very hard to work
- >with, let alone alter. All you have to do is work with some terrible
- >code for a while and you will get irritated and start cursing this
- >'terrible' code. Of course you do work with the diku code don't you :)
- >
- Ack, I better clear something up before everyone begins to think I like or
- promote poor programming practices. Anyone that has worked with me knows
- that I am very finicky about code I will accept. I don't believe there is
- room for such things as spaghetti code, inefficient code or even poorly
- defined variables (I like something that can be easily read by anyone).
- I strongly belive in keeping code modular, as portable as possible and
- all that. However I believe that people have different ideas about how
- to go about these sorts of things and that one person may call another's
- style good or bad. This labeling is what I was getting at ... when it
- becomes a matter of habit/style that differs and not whether the basis
- is sound, then it is nothing but opinion. And it is fairly silly to call
- someone a "bad" programmer based on a few hacks. I would prefer to use
- the ideas presented, rather than lecture the person on how they did something
- wrong.
- Despite fairly good reasons presented why using inet_nota() might be better
- than writing your own version: In my mind there is a world of difference
- between that and non-structured or non-modular code. One may label a certain
- style "bad" according to your tastes and evalutions, but that doesn't
- necessarily make it poor programming except perhaps for your own uses.
-
- And incidentally, I don't curse poor code I intend to use so much as
- I make it better to suit my own needs (which I did tenfold with diku).
- But then my expertise lies within the realm of analysis so I am much
- better equipped to deal with sorting it out. The rest of you must, alas,
- make do with only "good" code. :)
-
-