Is phobos too fluffy?
wjoe
invalid at example.com
Sun Sep 20 01:00:43 UTC 2020
On Saturday, 19 September 2020 at 17:52:27 UTC, Patrick Schluter
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:
>>> [...]
>>
>> I guess you could set a line width guide to make the code more
>> readable. My issue with 4 space indents is in the best case
>> scenario, you end up with a large rectangular block of white
>> space running straight down the left hand side of the
>> function/struct/class/whatever, and you can get these
>> side-ways mountains of white space where you have to scroll to
>> the right to actually see the code.
>>
>> [...]
>
> Yeah, 2 wide and no tabs. The only right rule. ;-)
I think the only right rule is to use a code formatting tool and
provide the configuration so everyone can use their preferred
style and format the code before committing it.
More information about the Digitalmars-d
mailing list