Thread overview | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
August 27, 2014 "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
I made some additions and corrections. The following are the major ones: * The 'User Defined Attributes (UDA)' chapter * @nogc * foreach_reverse * Formatted element output with %( and %) * static this, static ~this, shared static this, and shared static ~this As a reminder, the book is available as PDF, downloadable from the header of each chapter: http://ddili.org/ders/d.en/index.html Ali |
August 27, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Wednesday, 27 August 2014 at 06:16:14 UTC, Ali Çehreli wrote:
> I made some additions and corrections. The following are the major ones:
>
> * The 'User Defined Attributes (UDA)' chapter
>
> * @nogc
>
> * foreach_reverse
>
> * Formatted element output with %( and %)
>
> * static this, static ~this, shared static this, and shared static ~this
>
Wonderful work. Many thanks.
|
August 28, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | Super! Huge thx for all the nice work btw. Questions: 1. Does the book have been entirely translated then..? 2. Would you agree to configure a print version through Blurb.com? This way we could get a copy through amazon like ... tomorrow ;) |
August 28, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Olivier Henley | On Thursday, 28 August 2014 at 21:07:00 UTC, Olivier Henley wrote:
> Super!
>
> Huge thx for all the nice work btw.
>
> Questions:
>
> 1. Does the book have been entirely translated then..?
Here, the answer is "Yes"
Ali's work is impressive.
|
August 29, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli Attachments: | On Tue, 26 Aug 2014 23:16:14 -0700 Ali Çehreli via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com> wrote: > * The 'User Defined Attributes (UDA)' chapter great! > * static this, static ~this, shared static this, and shared static ~this and this too. |
August 29, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli Attachments: | On Tue, 26 Aug 2014 23:16:14 -0700 Ali Çehreli via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com> wrote: > * Formatted element output with %( and %) by the way, i never knows about this feature. maybe i should RTFM someday... |
August 29, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On 08/26/2014 11:42 PM, ketmar via Digitalmars-d-announce wrote: > On Tue, 26 Aug 2014 23:16:14 -0700 > Ali Çehreli via Digitalmars-d-announce > <digitalmars-d-announce@puremagic.com> wrote: > >> * Formatted element output with %( and %) > by the way, i never knows about this feature. maybe i should RTFM > someday... > They appear under formattedWrite: http://dlang.org/phobos/std_format.html#.formattedWrite My brief explanation is under "Formatted element output" here: http://ddili.org/ders/d.en/formatted_output.html Ali |
August 29, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Olivier Henley | On 08/28/2014 02:06 PM, Olivier Henley wrote: > Huge thx for all the nice work btw. I thank everyone for the nice words and the motivation. :) > 1. Does the book have been entirely translated then..? Technically yes, but UDAs had to be added before I could call it complete and there are still missing pieces: - opDollar and the very recent multi-index opSlice - @disable - Importing multiple modules of a package - This is an interesting one, which I think not many people know about: aliases for operator overloading. See the following push for an example: https://github.com/D-Programming-Language/dmd/pull/989/files - Table of contents for the pdf version - Book index - A number of other things > 2. Would you agree to configure a print version through Blurb.com? This > way we could get a copy through amazon like ... tomorrow ;) I think I am finally very close to doing that, but not today. :) Would you recommend considering at least some of Blurb.com's competitors as well? Who? Thank you, Ali |
August 29, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Wednesday, 27 August 2014 at 06:16:14 UTC, Ali Çehreli wrote:
> I made some additions and corrections. The following are the major ones:
>
> * The 'User Defined Attributes (UDA)' chapter
>
> * @nogc
>
> * foreach_reverse
>
> * Formatted element output with %( and %)
>
> * static this, static ~this, shared static this, and shared static ~this
>
> As a reminder, the book is available as PDF, downloadable from the header of each chapter:
>
> http://ddili.org/ders/d.en/index.html
>
> Ali
Good work Ali! Do you by any chance plan to release ePub version of it?
|
August 29, 2014 Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dejan Lekic | On 08/29/2014 03:45 AM, Dejan Lekic wrote:
> Do you by any chance plan to release ePub version of it?
Yes. It will happen. :)
Ali
|
Copyright © 1999-2021 by the D Language Foundation