import(__FILE_LITERAL__)
user1234
user1234 at 12.de
Mon Sep 9 20:17:38 UTC 2024
On Monday, 9 September 2024 at 20:04:36 UTC, monkyyy wrote:
> On Monday, 9 September 2024 at 19:33:38 UTC, user1234 wrote:
>>
>> And finally, what's the use of that feature, maybe allow to
>> program a compile-time Quine, but what else ?
>
> https://forum.dlang.org/post/ejkrtibofyeyadrzxgkg@forum.dlang.org
>
> for starters, debugging information without ugly trade offs;
> alternatives to my `__HERE__` post that no one liked, etc.
>
>> In D reflexion is supposed to work with `__traits`.
>
> and if it fails, or is just slower then what I can parse in 3
> seconds of string manipulation?
Yeah you can ignore the remark about __traits. It was because I
didn't see the use so I supposed it was eventually to perform
some kind of introspection based on parsing, which does not
appear to be the motivation.
More information about the dip.ideas
mailing list