Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 1995 16:48:46 -0800 (PST)
From:      Archie Cobbs <archie@tribe.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Ack! Help, Andrey! I'm having troubles in libdialog!
Message-ID:  <199511080048.QAA16967@bubba.tribe.com>
In-Reply-To: <199511070650.HAA25533@uriah.heep.sax.de> from "J Wunsch" at Nov 7, 95 07:50:22 am

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511080048.QAA16967>