Is phobos too fluffy?

Andrei Alexandrescu SeeWebsiteForEmail at
Sat Sep 19 16:32:13 UTC 2020

On 9/19/20 12:20 PM, Uknown wrote:
> On Saturday, 19 September 2020 at 16:12:52 UTC, data pulverizer wrote:
>> On Saturday, 19 September 2020 at 15:08:12 UTC, Andrei Alexandrescu 
>> wrote:
>>> On 9/19/20 9:00 AM, data pulverizer wrote:
>>>> [...]
> the linux kernel has a rule: all code has to be indented with tabs. Its 
> for a single reason: more left leaning code is faster (heh Andrei). As 
> Andrei already mentioned, less indented code allows people to nest more, 
> which makes for arguable worse code.[1]
> What you really want is a column limit too. The linux kernel enforces 80 
> columns, for phobos something like 100-120 probably makes more sense. It 
> would make sure no one writes overly nested code, and at the same time 
> make sure you don't have to scroll all the way to the right.
> [1]:

Yes indeed! I do mention that in a couple of talks. Their indent size is 
8, too. You can't do a lot of shenanigans with indent size 8 and max 
columns 80.

Many animals are beautiful because they live hard lives.

More information about the Digitalmars-d mailing list