Re: The D Programming Language
werasm wrote:
Does D, BTW. support other paradigms (I'm not
counting concurrent programming as a paradigm, since I've been using
C++ to do that for some time now)? From the little I've seen it does
seem to support TMP better, but I'm not the one to debate that - others
are more qualified. In some way I do think, wrt. the TMP paradigm, D
stands towards C++ as C++ stood towards C in the OOP paradigm. One can
program in OOP fashion using C, but it is not natural. One can do TMP
with C++ but with D, is it more natural? I have not found C++
templates that unnatural for the cause, though.
The problem with TMP in C++ is it was discovered, not designed. When
templates were designed for C++, nobody realized that it could actually
be used as a compile time functional programming language itself. Now
that we know what TMP is, and what people are trying to do with it, it
opens the door wide to a redesign of templates to make TMP much easier
to do.
Finally we should be careful about comparing like with like. The
interesting features of languages like Ruby and Python is that the come
from a very different ancestry (that of scripting languages)
I don't disagree. Eventually the advantages/disadvantages of ancestry
may be compared, and certain descendents may disappear altogether.
Examination of the strengths of other languages enables thinking outside
of the box. Otherwise, you're restricted to thinking about only
incremental improvements.
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]