TypeFunction example: ImplictConvTargets

Adam D. Ruppe destructionator at gmail.com
Tue Oct 6 12:28:55 UTC 2020


On Tuesday, 6 October 2020 at 08:35:20 UTC, claptrap wrote:
> Because Stefan didnt rely on external code, he showed *all* the 
> code needed, so a counter example should have been the same. 
> Since the point is to compare the two *language* features, not 
> compare library calls.

Language features are a means to an end.

If the Phobos version compiles faster, uses less memory, and has 
the same result in the binary, it is a victory, even if it as 
significantly more code.

I'm skeptical of the type functions, but interested. They might 
help with a real problem. But they need to actually win on the 
end results, not against artificial strawmen.


More information about the Digitalmars-d mailing list