Coolest D features
BCS
BCS at pathilink.com
Wed Dec 27 08:51:45 PST 2006
Andrei Alexandrescu (See Website For Email) wrote:
> Say you wanted to introduce a programmer friend to D. She might know one
> of D's sibling languages (Java, C, C++, or C#), but you shouldn't rely
> too much on that. What features of D would you describe first to hook
> that friend in?
>
> Andrei
Mostly it is the fact that a programing can be made more reliable and
maintainable.
Simple consistent syntax is one part of this. The "It's easy to program
in" also is part.
My favorite thing right now is this: Things can be made "intent-ional"
(think "funct-ional") sort of a #define on steroids. This comes from use
of const and templates. The after doing things like parser generation
and ASM-stype bignum with template code I could actually stand reading
really makes me think there is something here. After showing the
template parser generator to a prof of mine, he said "Quit tempting me"
to start learning D, this from a guy that likes Prolog (nothing wrong
with that BTW).
p.s. & OT: that might as well be the abstract for the current version of
my, "intro to D: why it will take over the world some day" paper:
http://www.uidaho.edu/~shro8822/term_009.pdf
comments welcome.
More information about the Digitalmars-d
mailing list