From owner-freebsd-hackers Tue Nov 7 16:49:24 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA11009 for hackers-outgoing; Tue, 7 Nov 1995 16:49:24 -0800 Received: from bubba.tribe.com ([205.184.207.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA11004 for ; Tue, 7 Nov 1995 16:49:22 -0800 Received: (from archie@localhost) by bubba.tribe.com (8.6.11/8.6.9) id QAA16967 for freebsd-hackers@freebsd.org; Tue, 7 Nov 1995 16:48:47 -0800 From: Archie Cobbs Message-Id: <199511080048.QAA16967@bubba.tribe.com> Subject: Re: Ack! Help, Andrey! I'm having troubles in libdialog! To: freebsd-hackers@freebsd.org Date: Tue, 7 Nov 1995 16:48:46 -0800 (PST) In-Reply-To: <199511070650.HAA25533@uriah.heep.sax.de> from "J Wunsch" at Nov 7, 95 07:50:22 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 614 Sender: owner-hackers@freebsd.org Precedence: bulk > As Jordan K. Hubbard wrote: > > > > > ! char result[127]; > > > > Ye gods, was that really it?! > > When looking around on the Usenix ftp server, i've stumpled across a > paper called `canthappen[.ps.Z]'. It's titled > > Can't Happen > or > /* NOTREACHED */ > or > Real Programs Dump Core > > One of the rules: Avoid magic numbers... Or, as John Ousterhout calls them, "voodoo constants" ... :-) -Archie _______________________________________________________________________________ Archie L. Cobbs, archie@tribe.com * Tribe Computer Works http://www.tribe.com