dip: __HERE__ special token

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Mon Apr 11 22:48:31 UTC 2022


On Monday, 11 April 2022 at 16:36:02 UTC, monkyyy wrote:
> On Sunday, 10 April 2022 at 21:50:59 UTC, Alexandru Ermicioi 
> wrote:
>> Still, whats the use case of this functionality?
>
> Mostly I want a cleaner way to get symbols for when I revisit 
> https://github.com/crazymonkyyy/comfysettings

You could group your fields in a struct, and use with expression, 
btw.

> and I do think defining a list of things to then turn around 
> and do something repetitive with them is common

Regarding the dip. You might better change __here__ to something 
more meaningful. People not knowing what __here__ does will 
inadvertently ask: here what? while reading this token.



More information about the Digitalmars-d mailing list