January 09, 2022

On Sunday, 9 January 2022 at 10:35:03 UTC, Timon Gehr wrote:

C++ has ... To extend the calling parameters, very comfortable.
If only d had it.

January 09, 2022

On Sunday, 9 January 2022 at 10:35:03 UTC, Timon Gehr wrote:

C++ has ... To extend the calling parameters, very comfortable.
If only d had it.

January 09, 2022

On Sunday, 9 January 2022 at 12:38:59 UTC, zjh wrote:

>

On Sunday, 9 January 2022 at 10:35:03 UTC, Timon Gehr wrote:

C++ has ... To extend the calling parameters, very comfortable.
If only d had it.

D does have it

January 09, 2022

On Sunday, 9 January 2022 at 12:48:37 UTC, max haughton wrote:

>

D does have it

folding expression ...,like this:

template<class...A,class...B>
required allsame<A...>&&allsame<B...>
void f(map<A,B>&...t){
    (print(t.size()),...);//here.
}
April 23, 2022

On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:

>
  • Worst features implemented in a non-toy language
  • C Preprocessor
  • C Macros
  • Error handling through return codes
  • Languages with undecidable grammar
>
  • Worst features (in your opinion) in D
  • I need more time for this to find ones, but mostly it is the half backedness of features
>
  • Features you'd like to see in D
  • structs implementing interfaces
  • autoboxing structs to interfaces
  • faster, easier and more powerful CTFE, I think this will come with newCTFE
  • runtime templates/runtime reflection (not as default, but as an option)

I'm unsure about type classes/protocols/concepts/traits, they are, theoretically, clearly superior to OOP, but as we already have classes & interfaces in D, they would be too overlapping, I think.

April 24, 2022
On 24/04/2022 3:01 AM, sighoya wrote:
> I'm unsure about type classes/protocols/concepts/traits, they are, theoretically, clearly superior to OOP, but as we already have classes & interfaces in D, they would be too overlapping, I think.

Signatures are OOP.

Its just that the relationship is inverse of class/interface.
26 27 28 29 30 31 32 33 34 35 36
Next ›   Last »