Lisp vs. C++ (not off-topic)
Walter Bright
newshound at digitalmars.com
Wed Oct 11 10:55:35 PDT 2006
Sean Kelly wrote:
> I believe that D has a definite opportunity to do better than C++ in
> code clarity and ease of programming, but I'm not sure the library is
> sufficient quiet yet. The C++ algorithm/iterator model is extremely
> powerful and D's foreach and delegates aren't enough by themselves. For
> example, writing the code snippet above in D would be much more like the
> original C++ version than my rewrite. For D to be great, I think it
> will need an standard algorithm-oriented library that exploits D's
> unique language features. DTL seemed a likely candidate, but
> development on it stalled ages ago. But perhaps it contains ideas worth
> pursuing. I'll admit it's been so long that I've forgotten a lot of the
> details of how it works.
D just needs a foreach_reverse statement.
More information about the Digitalmars-d
mailing list