Vote for the new std.hash (oops, std.digest)

Walter Bright newshound2 at digitalmars.com
Tue Aug 28 14:29:07 PDT 2012


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.


More information about the Digitalmars-d mailing list