What is your favorite D feature?
Guillaume Piolat via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 22 02:45:48 PDT 2017
On Thursday, 22 June 2017 at 00:48:25 UTC, Seb wrote:
> Hi,
>
> I am currently trying to modernize the D code example roulette
> on the dlang.org front page [1]. Hence, I would love to hear
> about your favorite feature(s) in D.
> Ideas:
> - favorite language construct
I think "alias this" is a good contender.
But actually I like how D deal with names.
alias and alias template parameters exposes the identifier, being
a type or a value. It is very clean.
More information about the Digitalmars-d
mailing list