Attribute inference for non-templated functions
jmh530 via Digitalmars-d
digitalmars-d at puremagic.com
Wed Mar 30 08:45:01 PDT 2016
On Wednesday, 30 March 2016 at 15:26:21 UTC, Seb wrote:
>
> OK so it makes sense to recommend to always use `auto` for
> non-templated functions in high-level parts of Phobos?
> The current guideline recommends to specify the return type for
> better readability in the code and documentation, but I guess
> the latter can be eventually fixed and having automatic
> attribute inference is way more important than the first point?
This is why I was posting about the inconsistency in the Better
Phobos Contribution guide. I don't have an opinion on what should
be the recommendation, just that it should be easy to follow.
More information about the Digitalmars-d
mailing list