Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: NULL as a string terminator
Message-ID: <1990Aug20.073554.9537@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <24141@megaron.cs.arizona.edu> <134@blekko.UUCP> <1990Aug20.000227.12867@icc.com>
Date: Mon, 20 Aug 90 07:35:54 GMT

In article <1990Aug20.000227.12867@icc.com> cbp@icc.com (Chris Preston) writes:
>>In many cases the object itself becomes familiar enough that it's
>>instantly recognized.  '\0' is one such object.  If I saw in your
>>code
>>
>>	*p = EOS;
>>
>>I'd have to run off to your .h files to find the definition of EOS.
>
>  Perhaps a comment in an appropriate place might alleviate this.

Comments are not a substitute for using familiar practices instead of
unfamiliar ones.  Familiar ones should be preferred unless there is
a *substantial* advantage to be had.  I don't see one here.
-- 
Committees do harm merely by existing. | Henry Spencer at U of Toronto Zoology
                       -Freeman Dyson  |  henry@zoo.toronto.edu   utzoo!henry
