We're #1 on Hacker News at the moment!

Jeff C. jeffc at email.addr
Tue Apr 28 22:28:22 UTC 2020


On Tuesday, 28 April 2020 at 18:57:23 UTC, H. S. Teoh wrote:
> I *have* found myself wanting to store one of these ranges 
> sometimes -- that's when I pull out typeof() and let the 
> compiler do the heavy lifting for me.  Seriously, it's 2020, 
> why are we still manually typing out type names?!  If it's 
> already obvious from the context, let the compiler fill it in 
> for me, I have better things to do with my time than to retype 
> stuff that the compiler already knows all too well.

Indeed. One might get the idea that those who reject auto and the 
like must be quite conservative of modernity and/or masochists.


More information about the Digitalmars-d mailing list