Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: The D Programming Language (was: Still more new operators)
Message-ID: <1988Mar3.185106.1217@utzoo.uucp>
Organization: U of Toronto Zoology
References: <11702@brl-adm.ARPA> <243@eagle_snax.UUCP> <2245@geac.UUCP> 
Date: Thu, 3 Mar 88 18:51:06 GMT

> >I would suggest that "abc" should mean a length-3 string with any necessary
> >terminator, regardless of what flavor of string is in use...
> 
> And how do you specify what flavor of string is "is use?".

Pick a way.  I can think of several.  The point is that the compiler, not
the user, should be charged with translating a string constant into the
correct internal representation.  It can generate a count just as easily
as it can generate a trailing NUL, and either way this is much better than
making the programmer do it.
-- 
Those who do not understand Unix are |  Henry Spencer @ U of Toronto Zoology
condemned to reinvent it, poorly.    | {allegra,ihnp4,decvax,utai}!utzoo!henry
