Sujet : Re: Command line globber/tokenizer library for C?
De : bc (at) *nospam* freeuk.com (Bart)
Groupes : comp.lang.cDate : 12. Sep 2024, 17:15:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbv436$b0hv$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Mozilla Thunderbird
On 12/09/2024 16:46, Janis Papanagnou wrote:
On 12.09.2024 16:16, Bart wrote:
Spaces Hard tabs
>
C++ 829 682 characters
You are counting spaces, tabs and characters to characterize programs'
quality or legibility or what? - Abandon all hope ye who enter here.
I'm counting the number of characters needed to express the function. Since one of BM's claims is that the C++ example was smaller than C.
The difference between the two columns is whether indentation uses hard tabs or spaces. The C version is more deeply indentated so that makes a difference. (Also the width of the tabs, but everything was measured with tabs set to 4 characters.)