Why I love D: function parameter reification

Paolo Invernizzi paolo.invernizzi at gmail.com
Thu Jun 9 08:19:05 UTC 2022


On Wednesday, 8 June 2022 at 23:09:49 UTC, Adam D Ruppe wrote:
> On Wednesday, 8 June 2022 at 21:47:16 UTC, H. S. Teoh wrote:
>> (Of course, in the actual code a mixin is still needed in 
>> order to bind `myfunc` to the actual target function, which is 
>> iterated over by name.)
>
> You probably don't need that either.
>
> But yeah getting udas off function parameters is a bit... fun, 
> but it sure does allow a lot of cool things.

I still think that being able to reflect ddoc comments will be a 
huge win ... a-la-python-"__doc__"


More information about the Digitalmars-d mailing list