Why is D unpopular?
Paolo Invernizzi
paolo.invernizzi at gmail.com
Fri May 6 07:58:06 UTC 2022
On Friday, 6 May 2022 at 06:57:52 UTC, Siarhei Siamashka wrote:
> On Friday, 6 May 2022 at 06:18:08 UTC, Patrick Schluter wrote:
>> That's the point. It reduces build complexity in a disruptive
>> way.
>
> My point is that CTFE actually increases the complexity and
> moves it somewhere else in a somewhat obscure way. It's one of
> the zillions of extra features that make the language spec
> bloated and difficult to learn.
It's exactly the contrary of this.
Doing thing at compile time with templates implies something new
and difficult to learn (see C++). Doing things at compile time
with CTFE don't add anything new to learn, you write code as
always.
More information about the Digitalmars-d
mailing list