www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Found on twitter: a long comparison of C with D, in Russian

reply Joakim <dlang joakim.fea.st> writes:
 From habrahabr.ru, a kind of Russian Slashdot:

https://habrahabr.ru/post/276227/

I used Chrome's auto-translate to read it, he mentions some D 
features I'd never seen before.
Feb 10 2016
next sibling parent reply Andre Polykanine via Digitalmars-d-announce writes:
JvDda> https://habrahabr.ru/post/276227/

It states that it actually is the translation of this one:
http://dlang.org/ctod.html
                                                            :)
But thanks anyway!

A
ndre.
Feb 10 2016
parent Joakim <dlang joakim.fea.st> writes:
On Wednesday, 10 February 2016 at 20:12:18 UTC, Andre Polykanine 
wrote:
 JvDda> https://habrahabr.ru/post/276227/

 It states that it actually is the translation of this one:
 http://dlang.org/ctod.html
                                                             :)
 But thanks anyway!

 A
 ndre.
Oh heh, now makes sense how it's so detailed, :) I never read that one on the D site.
Feb 10 2016
prev sibling next sibling parent Daniel Kozak via Digitalmars-d-announce writes:
It is sad we still have official pages with something like this :(


        The D Way

The length of an array is accessible through the property "length".

int  array[17];
foreach  (i; 0 .. array.length)
      func(array[i]);

or even better:

int  array[17];
foreach  (int  value; array)
     func(value);



Dne 10.2.2016 v 21:12 Andre Polykanine via Digitalmars-d-announce napsal(a):
 JvDda> https://habrahabr.ru/post/276227/

 It states that it actually is the translation of this one:
 http://dlang.org/ctod.html
                                                              :)
 But thanks anyway!

 A
 ndre.
Feb 10 2016
prev sibling next sibling parent reply Dejan Lekic <dejan.lekic gmail.com> writes:
This is probably the most complete C vs D comparison ever made. 
Really cool article! Thanks!
Feb 11 2016
parent Joakim <dlang joakim.fea.st> writes:
On Thursday, 11 February 2016 at 11:55:44 UTC, Dejan Lekic wrote:
 This is probably the most complete C vs D comparison ever made. 
 Really cool article! Thanks!
Well, it should be, as Andre noted above, Walter probably wrote it, ie turns out the Russian article is only a translation of an article from dlang.org.
Feb 11 2016
prev sibling parent HaraldZealot <harald_zealot tut.by> writes:
On Wednesday, 10 February 2016 at 09:49:07 UTC, Joakim wrote:
 From habrahabr.ru, a kind of Russian Slashdot:

 https://habrahabr.ru/post/276227/

 I used Chrome's auto-translate to read it, he mentions some D 
 features I'd never seen before.
If you are interested in D topic on the habrahabr these articles from deviator seem more interesting and original: https://habrahabr.ru/post/274619/ https://habrahabr.ru/post/261349/ https://habrahabr.ru/post/261641/ https://habrahabr.ru/post/261201/
Feb 11 2016