Is phobos too fluffy?

data pulverizer data.pulverizer at gmail.com
Sat Sep 19 13:00:11 UTC 2020


On Thursday, 17 September 2020 at 15:51:18 UTC, Andrei 
Alexandrescu wrote:
> As wc -l counts, phobos has some 330 KLOC:
>
> $ wc -l $(git ls-files '*.d') | tail -1
>   331378 total
>
> I noticed many contributors are fond of inserting empty lines 
> discretionarily, sometimes even in the middle of 2-5 line 
> functions, or right after opening an "if" statement. The total 
> number of empty lines:
>
> $ git grep '^$' $(git ls-files '*.d') | wc -l
>    38503
>
> So Phobos has 11.62% empty lines in it [...]

At the risk of starting WW3, I'd like to propose using 2 space 
code indent over 4 spaces or tabs. Indents just don't need that 
much space.

:-)



More information about the Digitalmars-d mailing list