<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Languages --> <!--X-From-R13: Oqnz Ivttvaf <avtugsnyyNhfre1.vasvpnq.pbz> --> <!--X-Date: from fabius.globecomm.net [207.51.48.6] by in11.ibm.net id 864557666.26754-1 Sun May 25 10:54:26 1997 CUT --> <!--X-Message-Id: 199705251106.EAA26795#user1,inficad.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 338e4fb9.3480686#relay,mnsinc.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Languages</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:nightfall#user1,inficad.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="msg00775.html">Previous</a> | <a href="msg00777.html">Next</a> ] Thread: [ <a href="msg00755.html">Previous</a> | <a href="msg00799.html">Next</a> ] Index: [ <A HREF="author.html#00776">Author</A> | <A HREF="#00776">Date</A> | <A HREF="thread.html#00776">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Languages</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Languages</LI> <LI><em>From</em>: Adam Wiggins <<A HREF="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</A>></LI> <LI><em>Date</em>: Sun, 25 May 1997 04:06:46 -0700 (MST)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:nightfall#inficad,com">nightfall#inficad,com</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> [Caliban:] > >>over... because none of the objects can make any assumptions about > >>the others, so they can't ever take for granted that someone else has > >>validated the data. If they did, they'd break the whole reuse thing. > > > >Actually that's what I've been doing with stratight C and procedural > >programming for years. I've always been a big fan of heavy sanity > >checking. Then OOP came along and made it de rigeuer. > > I do heavy sanity checking on input. Once. Then I know it's sane. It's > really not likely to go apeshit over the course of the program. Wait until you get to work on a large-scale project with multiple programmers, re-used components, and a timescale such that you forget what some of your own code does during the course of the project. It's *amazing* what can slip through the cracks when you're programming by yourself on a small project; now imagine what can happen when you've got several people working on a project, modules which were written by outside sources, etc etc. Sanity checking is also great for finding those really nasty bugs, ie stack or heap overwrites which don't cause seg faults. Really there's no reason for a simple if statement at the top of every function to make sure that everything is okay...and checking return values all the time isn't that hard once you get in the habbit. </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="00799" HREF="msg00799.html">Re: [MUD-Dev] Languages</A></strong> <ul compact><li><em>From:</em> Nathan Yospe <yospe#hawaii,edu></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00737" HREF="msg00737.html">Re: [MUD-Dev] Languages</A></STRONG> <UL><LI><EM>From:</EM> caliban#darklock,com (Caliban Tiresias Darklock)</LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00775.html">Re: [MUD-Dev] Re: Levels (was: Administrative notes)</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00777.html">Rooms, 3D arrays, etc.</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00755.html">Re: [MUD-Dev] Languages</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00799.html">Re: [MUD-Dev] Languages</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00776"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00776"><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>Re: [MUD-Dev] Languages</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00770" HREF="msg00770.html">Re: [MUD-Dev] Languages</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 25 May 1997, 15:17 GMT </LI> </ul> </ul> <LI><strong><A NAME="00728" HREF="msg00728.html">Re: [MUD-Dev] Languages</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 24 May 1997, 10:15 GMT <UL> <LI><strong><A NAME="00737" HREF="msg00737.html">Re: [MUD-Dev] Languages</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sun 25 May 1997, 03:29 GMT <UL> <LI><strong><A NAME="00755" HREF="msg00755.html">Re: [MUD-Dev] Languages</A></strong>, coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 25 May 1997, 07:28 GMT </LI> <LI><strong><A NAME="00776" HREF="msg00776.html">Re: [MUD-Dev] Languages</A></strong>, Adam Wiggins <a href="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</a>, Sun 25 May 1997, 17:54 GMT <UL> <LI><strong><A NAME="00799" HREF="msg00799.html">Re: [MUD-Dev] Languages</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Mon 26 May 1997, 05:50 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </ul> <LI><strong><A NAME="00721" HREF="msg00721.html">Re: [MUD-Dev] Languages</A></strong>, Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Sat 24 May 1997, 06:03 GMT </LI> </ul> <LI><strong><A NAME="00703" HREF="msg00703.html">Re: [MUD-Dev] Languages</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 23 May 1997, 10:15 GMT <UL> <LI><strong><A NAME="00709" HREF="msg00709.html">Re: [MUD-Dev] Languages</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Fri 23 May 1997, 12:26 GMT </LI> </UL> </LI> </ul> </ul> </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>