home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.programming
- Path: sparky!uunet!think.com!cass.ma02.bull.com!ladcgw.ladc.bull.com!desint!geoff
- From: geoff@ITcorp.com (Geoff Kuenning)
- Subject: Re: Teaching the basics
- Message-ID: <1992Aug26.111240.8239@ITcorp.com>
- Organization: Interrupt Technology Corporation, Manhattan Beach, CA
- References: <MJN.92Aug23031941@pseudo.uucp> <7116@charon.cwi.nl> <1992Aug25.174243.10436@uwm.edu>
- Date: Wed, 26 Aug 92 11:12:40 GMT
- Lines: 23
-
- > typedef struct Tree *Tree;
- > struct Tree {
- > char *S; int Key, State;
- >...
- > Cur->Key = Key, Cur->State = 0;
- >...
- > else if (Prev->Key < Key) Prev->Left = Cur; else Prev->Right = Cur;
-
- I find it sourly this code was on a thread named "Teaching the
- basics", since the author obviously hasn't even learned the basics of
- readable code formatting.
-
- Code like this would be grounds for censure at most established,
- respected companies that care about customer support (insert your
- favorite quality software supplier here). This stuff will only fly at
- the 2-person shops founded by hackers who slapped together a
- barely-working system and shipped it as soon as possible, before they
- could find any bugs.
-
- Kids, don't try this kind of stuff at home. Like I've always told my
- students, whitespace is free. Use it liberally.
- --
- Geoff Kuenning geoff@ITcorp.com uunet!desint!geoff
-