On Thursday, 25 January 2024 at 08:58:29 UTC, Danilo wrote:
You can use `q{}`
```D
string wrap(string f) {
return "void wrap_"~f~"() { "~f~"(); }";
}
void fun() {}
mixin(wrap("fun"));
```
Not only `q{}` will make this even less readable—it won’t even
work.
On Thursday, 25 January 2024 at 00:19:54 UTC, Jordan Wilson wrote:
I can only assume lack of string interpolation was causing pain
to more users, than a lack of class private, therefore it got
implemented first.
String mixins are one the D’s killer features but the lack of
string
On Monday, 14 August 2023 at 08:42:17 UTC, claptrap wrote:
A simple 1 line "friendly reminder" instead of pages of
warnings, surely people could live with that?
Well, given that D compiler is also a unittesting tool, codecov
analyzer, documentation generator, profiler, static analyzer,
build
On Wednesday, 3 May 2023 at 11:13:34 UTC, Mike Parker wrote:
…
That’s a lot of words but little actual sense. What makes you
think that this IVY™ program is the silver bullet that D
desperately needs? And not just yet another load of crap invented
by some “consulting” firm as a relatively
On Wednesday, 26 April 2023 at 01:39:14 UTC, Walter Bright wrote:
That only does a subset of the proposal. The inference only
works in specific cases. Things like function overloading are
not addressed.
Should we remove struct initializers as well?
```D
struct S { int x; }
void fun(S) {}
On Wednesday, 20 July 2022 at 09:27:01 UTC, Bastiaan Veelo wrote:
That is not right. Are you developing a library or an
application?
Hmm, I got it working by explicitly setting `targetType` to
`executable`. It seems configuration recommended by Readme breaks
Dub’s automatic target
On Monday, 18 July 2022 at 08:33:15 UTC, Bastiaan Veelo wrote:
...
Is this tested on Windows?
```
Performing "debug" build using C:\Apps\dmd\windows\bin64\dmd.exe
for x86_64.
gettexttest ~master: building configuration "default"...
Running pre-build commands...
Performing "debug" build
On Sunday, 20 February 2022 at 03:23:03 UTC, Walter Bright wrote:
So do I. I enjoy the unusual phrasings some ESL people use.
Translator here. Actually, that was our collective effort towards
weird wording. The original translation I sent to Mike for
editing stated “*for once* header files