D idioms list

ketmar via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jan 8 12:23:00 PST 2015


On Thu, 08 Jan 2015 10:21:25 +0000
ponce via Digitalmars-d-announce <digitalmars-d-announce at puremagic.com>
wrote:

> I've started a list of curated D tips and tricks here: 
> http://p0nce.github.io/d-idioms/
> 
> Anything that you wished you learned earlier at one point in the 
> D world is welcome to be added or suggested.
> 
> I think the focus should be on "stuff that could make you more 
> productive, or is just funky" but that is up to debate.
> 
> Of course the D Cookbook still stays irreplaceable for a 
> consistent, in-depth discussion of being D-enabled.
> 
> Thoughts?
i'm not sure, but maybe it worth renaming "struct inheritance" to
"extending a struct"? or even something completely different. what it
does is actually extending/augmenting the struct, but not
OO-inheritance, as one cannot pass "augmented" struct to the function
which expects original struct. at least without hackery.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20150108/b5db8922/attachment.sig>


More information about the Digitalmars-d-announce mailing list