TypeFunction example: ImplictConvTargets
Patrick Schluter
Patrick.Schluter at bbox.fr
Wed Oct 7 08:25:31 UTC 2020
On Tuesday, 6 October 2020 at 23:16:47 UTC, claptrap wrote:
[...]
>
> Its the same basic algorithm, search a list and make a new list
> from the entries that satisfy a certain condition. It beggars
> belief that anyone would argue that the second version is not
> better on every metric that is important in writing good code.
> It's clearer, more intuitive, more concise, it will almost
> definitely be faster and less wasteful of resources. Newbies
> will grep it far quicker than the other versions. That means
> faster to write and easier to maintain and debug.
>
> I'm honestly losing the will to live here.
Thank you. I was myself wondering why this feature was
encountering such an amount of resistance, especially from the
top tier of the language specialists. Maybe they are so used to
the complexity of the template language that they don't perceive
how challenging for the mere mortal it is in practice.
More information about the Digitalmars-d
mailing list