[Info-vax] C versus Macro-32 readability, was: Re: Listeners in VMS Basic

Dave Froble davef at tsoft-inc.com
Tue Jul 13 16:20:46 EDT 2021


On 7/13/2021 1:49 PM, Simon Clubley wrote:
> On 2021-07-13, Dave Froble <davef at tsoft-inc.com> wrote:
>>
>> Perhaps it's just my illiteracy in C, but I find the code in this old
>> database product rather easy to read.  To be fair, being the architect
>> of the product might play some part in understanding what's going on.
>>
>
> No way David. There is absolutely no way the Macro-32 code is easier to
> read than Stephen's C translation.
>
> If anyone else thinks the Macro-32 code is easier to read than Stephen's
> C translation, I would really like to know why you think that. Stephen's
> C code is far easier to understand than the original Macro-32 code from
> David.
>
> Simon.
>

Maybe for someone familiar with C, and not so familiar with Macro-32.

Regardless, the topic was about comments, and the Macro-32 example is 
commented enough to allow readers to understand rather quickly what is 
happening.

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486



More information about the Info-vax mailing list