On Thursday, 19 September 2013 at 07:46:41 UTC, Ali Çehreli wrote:
I have just published two chapters that present tuples and TypeTuple sufficiently-completely and sufficiently-consistently (of course, according to me ;) ):

Tuples:

  http://ddili.org/ders/d.en/tuples.html

More Templates:

  http://ddili.org/ders/d.en/templates_more.html

I haven't officially announced those yet. I appreciate any review. (I am sure there are lots of English grammar and syntax issues as well. :-/ Those mature over time organically. :) )

Thank you,
Ali

Some obvious catches:

http://ddili.org/ders/d.en/tuples.html : `S.tupleof[i].stringof` value was recently changed.

`object.tupleof` part does not mention important fact that tuple does not contain values of object members but actual members as if it is a reference.

There are few imprecise wordings but I am afraid being 100% precise when speaking about tuples will result in "WTF, what dark magic this is?" :(

http://ddili.org/ders/d.en/templates_more.html : "The following code instantiates the template for int and dchar" - `double` is actually used in snippet instead of dchar.

Variadic template arg chapter should probably mention "variadic args of length 1" idiom used to have parameter accepting types, values and aliases at once.

Reply via email to