Sujet : Re: Clair Grant on VMS code base
De : clubley (at) *nospam* remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Groupes : comp.os.vmsDate : 17. Apr 2025, 19:05:52
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtrfu0$169cq$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : slrn/0.9.8.1 (VMS/Multinet)
On 2025-04-17, bill <
bill.gunshannon@gmail.com> wrote:
On 4/17/2025 1:48 PM, Simon Clubley wrote:
Number of statements, not number of lines. That makes it 3 statements
following my reasoning or 2 with Arne's reasoning. Either way, it's
still the exact same number of statements in both cases.
>
But I thought we were talking LoC - Lines of Code and the ability of
a machine to make that determination in order to provide accurate
statistical information.
>
We are, but you are counting physical lines of code and I am counting
the actual number of statements (which is more robust against different
coding styles). I've just looked around for a write-up explaining the
various approaches and the Wikipedia one looks pretty good:
https://en.wikipedia.org/wiki/Source_lines_of_codeSimon.
-- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFPWalking destinations on a map are further away than they appear.