Hello,
I am trying to learn D and I have stumbled upon an issue
Consider this code:
```d
import std.stdio;
//version = Test;
int main() {
version (Test) {
writeln("Hello, world!");
}
return 0;
}
```
This compiles, however what if we want to turn the versi
On Friday, 1 December 2023 at 01:01:31 UTC, Siarhei Siamashka
wrote:
Advent of Code 2023 starts in a few hours from now. I suggest
to discuss D language solutions here.
But to avoid spoilers, it's best to do this with a 24h delay
after each puzzle is published.
Day 1 solution
```d
version = P
On Sunday, 3 December 2023 at 14:51:37 UTC, Siarhei Siamashka
wrote:
[...]
Thanks, this is super helpful. I have one other question, in the
solution you posted and also the one I posted in the discord
today. I was required to use byLineCopy. I first used byLine but
I for some reason that I c