I approved DIP1036e

matheus matheus at gmail.com
Sun Jan 21 14:45:39 UTC 2024


On Sunday, 21 January 2024 at 12:35:53 UTC, Dom DiSc wrote:
> ...
> Oh please.
> Everybody submitting a PR can easily run dfmt on it. This done 
> there should be no more "too long lines", "multiple expressions 
> in one line", "not correct indented code", "curly braces not on 
> their own line", etc. pp.
> If someone submit PRs without running dfmt, (s)he should be 
> advised to do so. End of discussion.
> ...

I always thought that the code should be accompanying with a 
style file (Or markup?), something like HTML and CSS, and each 
one could defined the style they are pleased, for example I 
prefer curly braces on their on line, like 1TBS/OTBS style, and 
sometimes for _simple_ things I do prefer multiple expressions in 
one line.

Matheus.


More information about the Digitalmars-d mailing list