[Rosettacode] D code line length limit

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 8 00:29:08 PDT 2014


Jonathan M Davis:

> ultimately, this sort of
> thing pretty much always ends up being highly subjective.

But please put the const/immutable of methods on the right:

struct Foo {
     void bar1() const {} // Good
     const void bar2() {} // Bad
}

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list