Is phobos too fluffy?
SeeWebsiteForEmail at erdani.org
Sun Sep 20 15:28:53 UTC 2020
On 9/20/20 11:15 AM, Adam D. Ruppe wrote:
> On Sunday, 20 September 2020 at 15:04:35 UTC, Paul Backus wrote:
>> Just for fun, I decided to run these calculations on sumtype, which
>> uses my own personal formatting style:
>> Lines: 2389 total
>> Blank: 435 (18%)
>> Brace: 133 (6%)
>> Fluff factor: 24%
> omg ima do it too:
> Lines: 156097 total
> Blank: 22552 (14%)
> Brace: 5 (0%)
> Fluff factor: 14%
> Would be kinda interesting to compare byte size and number of lexemes
> too, to get an idea of average line length. 4780494 is what wc says to
> me which makes my average populated line 36 chars long.
> Phobos wc gives 11320840 which makes its average populated line 47 chars
> long. Interesting but prolly meaningless.
I think you'd need to adjust for tabs - you need to multiply tabs by 4.
More information about the Digitalmars-d