On Thursday, 15 January 2015 at 10:19:36 UTC, Joakim wrote:
On Thursday, 15 January 2015 at 08:54:34 UTC, ponce wrote:
On Thursday, 15 January 2015 at 03:19:10 UTC, brian wrote:

My point wasn't that there aren't ways to do things in D.
My point was that there are fewer examples of *how* to do things in D. This will discourage the new user, which will prevent it becoming a more popular language. So if I'm looking for a new language to use, I'd probably stick to the ones that have more examples.

Does this help? http://p0nce.github.io/d-idioms/

Just went through your list of idioms, noticed one mistake, anonymous _nested_ structs/unions are in D:

"anonymous structs/unions are allowed as members of other structs/unions"
http://dlang.org/struct.html

Actually it's more complicated than that, _some_ anonymous nested struct are in D, but not the ones you need to translate C.
https://github.com/p0nce/d-idioms/issues/10#issuecomment-70154005

Reply via email to