Prettier iterator implementations in D?

Reiner Pope reiner.pope at REMOVE.THIS.gmail.com
Fri Oct 20 01:56:08 PDT 2006


Alexander Panek wrote:
> I know Ruby, and it's loops are very cool, indeed. But this is D, and as
> a full blown *system and application programming language*, you can't
> compare it to Ruby. 
The fundamental difference between D and Ruby is static typing. This 
leads on to D being more suitable for compilation than Ruby, and thus 
its speed, type-safety and meta-programming, and D not as concisely 
handling some aspects of reflection. Other than that, they are the 
leading languages in their fields (interpreted and compiled languages), 
and can learn a lot from each other.

Cheers,

Reiner



More information about the Digitalmars-d mailing list