ugly and/or useless features in the language.
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Sun May 23 10:24:53 UTC 2021
On Sunday, 23 May 2021 at 08:35:31 UTC, Tony wrote:
> On Saturday, 15 May 2021 at 21:15:01 UTC, Ola Fosheim Grostad
> wrote:
> Why is metaprogramming added features better than the same
> features added in the language? One is standard between
> entities, the other is not.
There are many reasons, one important one is consistency and
being able to prove that the type system is sound/reasonable.
Syntactic sugar is ok though, so adding syntax does not create
problems as long as what it expands to can be expressed
constuctively using exising language constructs.
More information about the Digitalmars-d-learn
mailing list