Talk on D at DORS/CLUC
RazvanN
razvan.nitu1305 at gmail.com
Tue May 21 07:55:08 UTC 2024
On Monday, 20 May 2024 at 15:43:46 UTC, Lance Bachmeier wrote:
> On Monday, 20 May 2024 at 08:03:12 UTC, RazvanN wrote:
>
>> Templates are quite cool and they do appeal the inner nerd,
>> but the reality is that not so many people use templates. If
>> you're not a library writer, chances are you'll stick to using
>> normal functions.
>
> The complexity of templates is probably more important (though
> I agree with your point). Maybe after years of using the
> language they will have uses here and there, but templates are
> not a positive when showing off the language. Same for ranges.
>
Actually, what D can do with templates impresses people
(especially the __traits and template constraints), however, it's
not something that actually solves the problems they have in
other languages. As for ranges, I did not include any examples in
my talk as I don't see them as a very big selling point.
More information about the Digitalmars-d
mailing list