home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: rec.games.mud.misc
- Path: sparky!uunet!gatech!darwin.sura.net!blaze.cs.jhu.edu!jyusenkyou!arromdee
- From: arromdee@jyusenkyou.cs.jhu.edu (Ken Arromdee)
- Subject: Re: Note to any fellow DikuMUD coders...
- Message-ID: <1992Dec26.211738.11242@blaze.cs.jhu.edu>
- Sender: news@blaze.cs.jhu.edu (Usenet news system)
- Organization: Johns Hopkins University CS Dept.
- References: <9212260257.AA22918@TIS.COM> <kwt1H$1cnb@atlantis.psu.edu> <9212261801.AA05796@TIS.COM>
- Date: Sat, 26 Dec 1992 21:17:38 GMT
- Lines: 42
-
- In article <9212261801.AA05796@TIS.COM> mjr@TIS.COM writes:
- > Broken vendor software (who broke inet_ntoa()? AIX?) is a real
- >problem, and working around it is a pain in the butt. There are two
- >approaches:
- > a) provide alternate functionality (your own library routine)
- > b) provide a patch
- > Approach 'a' risks becoming a software time bomb, and approach
- >'b' risks turning your code into a mass of:
- >#ifdef BROKEN_INET_NTOA
- >#ifdef SUN
- >#else
- >#endif
- >#else
- >#endif
- > And similar abominations.
-
- Yet, what is the alternative? The alternative seems to be to not take into
- account broken software at all, and to always write as though it worked even if
- it doesn't. This creates an _immediate_ "software time bomb". Sure, _this_
- one is "really" the fault of the vendor and not the coder, but from the point
- of view of someone trying to run the thing, it has pretty much the same effect.
-
- >just write stuff and if you need to build it on a system without
- >inet_ntoa() or a broken inet_ntoa() then you need to either beat
- >up your vendor and/or get a working version you can link in as a
- >local patch. If the makefiles for the application are simple and
- >avoid GNU-ish excesses in complexity, adding "inet_ntoa.c" to
- >the link should be easy.
-
- Not all users are programmers. Believe it or not, some people actually don't
- _like_ having to fix programs, and some might not even be very good at it.
- For some people, figuring out that a system routine is broken is non-trivial.
- I don't believe the idea that you shouldn't be running something unless you're
- willing and able to debug it, and even if you sometimes have to debug it anyway
- by necessity, minimizing the amount of debugging is a Good Thing.
- --
- "Am I still reading rec.games.mud? In MY day, flames were much better than
- that. We didn't HAVE those nansie-pansie four letter words to swing around,
- we dug up hard FACTS when we flamed, AND WE LIKED IT!"
- -- Doran, on rec.games.mud
-
- Ken Arromdee (arromdee@jyusenkyou.cs.jhu.edu, arromdee@jhunix.hcf.jhu.edu)
-