[Info-vax] C limitations, was: Re: VMS process communication

Scott Dorsey kludge at panix.com
Mon Mar 27 18:47:09 EDT 2023


Johnny Billquist  <bqt at softjar.se> wrote:
>On 2023-03-27 14:27, Simon Clubley wrote:
>> On 2023-03-25, Scott Dorsey <kludge at panix.com> wrote:
>>> bill  <bill.gunshannon at gmail.com> wrote:
>>> I am a big fan of C and I definitely think null-terminated strings
>>> were a mistake.  There are syntax issues in C that I don't like, but
>>> there is nothing in the same order of magnitude as null terminated
>>> strings.
>>>
>>> But, at the time C was made, the notion that people would attempt to
>>> deliberately cause software to malfunction seemed alien.  It no longer
>>> is, and as the world has changed the design decisions that seem appropriate
>>> may have changed as well.
>> 
>> In this very different world, gets() was once considered to be an acceptable
>> function. :-)
>
>That one is bad in a way that is hard to defend.

It was easy to defend in 1978.  But we do not live in 1978 anymore.
--scott


-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."



More information about the Info-vax mailing list