Need Good representative example of C++ and D code

Suliman evermind at live.ru
Wed Nov 6 08:37:06 PST 2013


Hi! A lot of people from C++ world want to see small 
representative examples of how D do job more easily and elegantly 
than C++.

I need few not very big examples for D about page to 
http://dlang.ru/about
as you see this small example is not good. So I need example 
where D code is more elegant and compact than C++ analog. And 
this code should be not very hard, because it's About page read 
not only experts, but also middle end programmers.

Could  anybody write some examples on both languages?


More information about the Digitalmars-d mailing list