Potential of a compiler that creates the executable at once
rempas
rempas at tutanota.com
Fri Feb 11 20:23:10 UTC 2022
On Friday, 11 February 2022 at 18:13:34 UTC, H. S. Teoh wrote:
>
> I'm skeptical of any LoC metric.
>
>
> T
This reminds me of what Walter said before! It is actually so
simple that I don't understand what's so hard about it!
```
int val = 200; // This is a line of code
// This is a comment
/* This is a comment
This counts as a comment too!
/*
int function_test() {
int v = 10;
}
```
The following has:
Lines of code: 4
Empty lines: 3
Comments: 2
Don't we all agree that this is how we should count it?
More information about the Digitalmars-d
mailing list