[Info-vax] VAX Macro to C conversion
Arne Vajhøj
arne at vajhoej.dk
Wed Jul 10 14:21:34 EDT 2019
On 7/10/2019 2:10 PM, Bill Gunshannon wrote:
> On 7/10/19 11:40 AM, Dave Froble wrote:
>> On 7/10/2019 9:34 AM, Bill Gunshannon wrote:
>>>
>>>> * no string type
>>>
>>> So what? What's so great about a string type? Fortran
>>> didn't have it until 77. Pascal didn't have it until UCSD.
>>
>> Strings are vital in some applications. Perhaps not in number
>> crunching. Try a name and address without strings. Maybe you'll be
>> cleaver enough to use GPS coordinates for the address, but for the name?
>>
>> Try writing a compiler without strings.
>
> Nobody said there shouldn't be strings. You are free to declare
> any type pf string you want in C. null-terminated, descriptor,
> counted, whatever you want. Decide what is best for your use
> and create it. The programmer is tied to only one type of string.
But then all the details of the handling fall on the
programmer.
Giving the programmer lots of extra opportunities to
get it wrong.
Arne
More information about the Info-vax
mailing list