Expression-bodied functions

Gabriel Garcia via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 31 09:15:16 PST 2015


Hello all (: This is my first post here.

I don't know if this has been proposed before. Probably, it has 
been. Either way...

https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6#expression-bodied-function-members

Given D's tendency toward expression-oriented (or functional, 
whatever) programming, this seems like a logical addition to the 
language to me.

Cheers.


More information about the Digitalmars-d mailing list