November 06, 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?
November 06, 2013
Suliman:

> Could  anybody write some examples on both languages?

Non need to write them, in the Rosettacode site there are hundreds of such comparisons (and the D code if often as good as I am able to write). About 8% of the D entries are obsolete, and in need of an update.

http://rosettacode.org/wiki/Category:D
http://rosettacode.org/wiki/Category:C++

Bye,
bearophile