Is it possible to use templates to implement something like the `@show` macro from the Julia programming langauge in D?
Salih Dincer
salihdb at hotmail.com
Mon Sep 9 22:23:31 UTC 2024
On Monday, 9 September 2024 at 20:52:09 UTC, WraithGlade wrote:
> In any case, this version seems more brittle than the others at
> least
After all, you will need it in 2 ways: 1. to learn, 2. to test.
After testing, you can disable it with just the version parameter
while compiling. It is even possible to turn it on/off by
embedding ```// version = logOn; in the code and removing the
comment feature. For this, embed VERSION(logOn) in the relevant
lines...
SDB at 79
More information about the Digitalmars-d-learn
mailing list