Found on twitter: a long comparison of C with D, in Russian
Daniel Kozak via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Feb 10 12:40:54 PST 2016
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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20160210/f138ceee/attachment.html>
More information about the Digitalmars-d-announce
mailing list