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

Bernard Helyer b.helyer at gmail.com
Sun Aug 26 13:30:56 PDT 2012


> Yea, I agree that docs shouldn't use auto. It's real pain in ...
> I am fine with auto in code examples but in function/method 
> description the returned type should be clearly pointed out.

I personally only try to use auto where the type is unambiguous.
For example, if I'm calling a function in the same module, I'll
still write the type out -- a little work for more clarity.

Where auto shines of course is redundant type specification.




More information about the Digitalmars-d mailing list