On 8/26/2012 7:14 AM, Andrei Alexandrescu wrote:
On 8/26/12 8:35 AM, Craig Dillabaugh wrote:
On Sunday, 26 August 2012 at 10:32:37 UTC, Mike James wrote:
+2
As a very inexperienced D user, I find the use of auto in the
documentation frustrating too.

Cheers,

Craig

I'm torn on this. The arguments make sense; on the other hand, people will in
all likelihood write their own code in the style promoted by the doc examples.

How about this - use auto for code samples, but not for documenting function
return types (except Voldemort)?

I think there need to be explicit types in the doc so people can click on a link to them and see what they are.

Reply via email to