D Style document

Paul Backus snarwin at gmail.com
Sat Mar 8 15:54:52 UTC 2025


On Saturday, 8 March 2025 at 15:34:03 UTC, Dejan Lekic wrote:
>
> Thanks Paul! So do you think people who are working on 
> libraries, ie. code that is supposed to be used by a wider D 
> developer audience, should follow the D Style document?

If you're working on a project that you want other D developers 
to *contribute* to, following the style guide will probably make 
it easier for them to do so (for example, they won't have to 
change their settings for tools like `dfmt` or `dscanner`).

For making your code easy for other developers to *use*, I don't 
think code style matters all that much. Things like quality of 
documentation and integration with the `dub` package manager are 
far more important.


More information about the Digitalmars-d mailing list