Re: Preparing for the New DIP Process

2024-01-26 Thread Ogi via Digitalmars-d-announce
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.

Re: Preparing for the New DIP Process

2024-01-25 Thread Ogi via Digitalmars-d-announce
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

Re: D Language Foundation July 2023 Monthly Meeting Summary

2023-08-14 Thread Ogi via Digitalmars-d-announce
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

Re: A New Era for the D Community

2023-05-05 Thread Ogi via Digitalmars-d-announce
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

Re: DIP1044---"Enum Type Inference"---Formal Assessment

2023-04-26 Thread Ogi via Digitalmars-d-announce
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) {}

Re: [i18n] Gettext 1.0.1 released

2022-07-21 Thread Ogi via Digitalmars-d-announce
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

Re: [i18n] Gettext 1.0.1 released

2022-07-19 Thread Ogi via Digitalmars-d-announce
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

Re: Teaching D at a Russian University

2022-02-20 Thread Ogi via Digitalmars-d-announce
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