Template constraints in D

Walter Bright newshound1 at digitalmars.com
Sun Jun 22 14:15:22 PDT 2008


Dee Girl wrote:
> I hope this is not offensive. I said one that you focus on comparing
> D with C++ to much. And again you do the same with concepts.
> Comparison by any body else that you is ok. But if you do comparison
> is terrible. Makes you look second in run trying to reach first. You
> are not loser and do not want to look like loser. I study kyokushin
> karate 9 year. I was not good ^_^ but it was good for me. Sensei said
> many times best karate ka not compete with others. He compete with
> himself. Best fighter wants to do his best not only better than
> others. I understood him after years. I hope I express myself ok.

I understand your point, but I've often run into the sentiment "D looks 
great, but with C++0x coming I don't need D." So, some sort of 
comparison with C++0x is warranted.

I do hear you, though, which is why the article doesn't focus on C++, 
and the comparison is off on a separate page.


> One thing is also you implemented functionality in C++ concepts.
> Implementation is clever. But you do not bring original thing. You do
> what the C++ documentation does. Nothing else. It is not creative and
> not original. D is not C++ monkey. Stop looking at C++, do what you
> know is good; and you will be happy. Sorry, Dee Girl

You cannot do the isPrime() thing with Concepts.




More information about the Digitalmars-d mailing list