home bbs files messages ]

Just a sample of the Echomail archive

COMPOSVM:

<< oldest | < older | list | newer > | newest >> ]

 Message 262,638 of 264,034 
 =?UTF-8?Q?Arne_Vajh=C3=B8j?= to bill 
 Re: Clair Grant on VMS code base 
 17 Apr 25 10:07:34 
 
From: arne@vajhoej.dk

On 4/17/2025 9:53 AM, bill wrote:
> On 4/17/2025 8:38 AM, Arne Vajhøj wrote:
>> On 4/17/2025 8:21 AM, bill wrote:
>>> On 4/16/2025 9:29 PM, Dan Cross wrote:
>>>> Most modern code-counting tools _are_ language aware.  Whether
>>>> they do a better or worse job for each given language may be a
>>>> matter of debate, but most at least recognize different
>>>> languages and have some knowledge of their semantics.
>>>>
>>> I wonder how they would handle BASIC?  :-)
>>>
>>> 10 FOR X = 1 TO 10
>>> 20 PRINT X
>>> 30 NEXT X
>>>
>>> 10 FOR X = 1 TO 10:PRINT X:NEXT X
>>>
>>> Is the snippet above one line of code or three?
>>
>> Given that they count non-blank non-comment lines then ...
>
> Yes, but which is it?
> Would it be three in one case and one in the other even though it is the
> exact same snippet?

There are 3 and 1 non-blank non-comment lines in the two snippets.

> There are lies, damn lies and statistics.

:-)

Arne

--- SoupGate-DOS v1.05
 * Origin: you cannot sedate... all the things you hate (1:229/2)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca