proposal: short => rewrite for function declarations

Mike Parker aldacron at gmail.com
Sat Oct 10 15:11:16 UTC 2020


On Saturday, 10 October 2020 at 13:55:13 UTC, Imperatorn wrote:

> Might be a bit of a stretch to say it becomes a "foreign 
> language" just because you change one thing...

What I mean is that my brain is conditioned to see the braces and 
the return statement. I recognize everything immediately and 
don't have to think about it. If I'm scanning D code and I see 
the shorthand lambda syntax for delegates, I have to stop and 
think about it. So yeah, to me, it's like a foreign language.


More information about the Digitalmars-d mailing list