Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
February 10, 2016 Found on twitter: a long comparison of C with D, in Russian | ||||
---|---|---|---|---|
| ||||
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. |
February 10, 2016 Re: Found on twitter: a long comparison of C with D, in Russian | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | 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. |
February 10, 2016 Re: Found on twitter: a long comparison of C with D, in Russian | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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.
>
|
February 11, 2016 Re: Found on twitter: a long comparison of C with D, in Russian | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Polykanine | 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.
|
February 11, 2016 Re: Found on twitter: a long comparison of C with D, in Russian | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | This is probably the most complete C vs D comparison ever made. Really cool article! Thanks! |
February 11, 2016 Re: Found on twitter: a long comparison of C with D, in Russian | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dejan Lekic | 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.
|
February 11, 2016 Re: Found on twitter: a long comparison of C with D, in Russian | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | 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/ |
Copyright © 1999-2021 by the D Language Foundation