Jump to page: 1 2
Thread overview
Ali's Book - Programming in D
Sep 10
bauss
Sep 10
someone
Sep 10
someone
Sep 10
someone
Sep 11
Dukc
September 10

I guess this is mainly a question for Ali, but if anyone else knows the answer, please jump in...

If I were to buy a paperback copy of "Programming in D: Tutorial & Reference" from Amazon (this link: https://www.amazon.ca/Programming-Tutorial-Reference-Ali-Cehreli/dp/1515074609/ref=sr_1_1?dchild=1&keywords=programming+in+d%3A+tutorial+and+reference&qid=1631270580&sr=8-1) would I be getting the 2021 edition or an earlier one?

If I can't get the latest edition from Amazon, is there a place where I can get it?

Thanks.

September 10

On Friday, 10 September 2021 at 10:46:25 UTC, Ron Tarrant wrote:

>

I guess this is mainly a question for Ali, but if anyone else knows the answer, please jump in...

If I were to buy a paperback copy of "Programming in D: Tutorial & Reference" from Amazon (this link: https://www.amazon.ca/Programming-Tutorial-Reference-Ali-Cehreli/dp/1515074609/ref=sr_1_1?dchild=1&keywords=programming+in+d%3A+tutorial+and+reference&qid=1631270580&sr=8-1) would I be getting the 2021 edition or an earlier one?

If I can't get the latest edition from Amazon, is there a place where I can get it?

Thanks.

I'm going to assume it's not the latest edition considering the specifications says this:

Publisher ‏ : ‎ CreateSpace Independent Publishing Platform; 1st edition (Aug. 19 2015)

But I could be wrong, perhaps Ali himself can answer it better than anyone else.

September 10

On Friday, 10 September 2021 at 10:59:10 UTC, bauss wrote:

>

Publisher ‏ : ‎ CreateSpace Independent Publishing Platform; 1st edition (Aug. 19 2015)

Yeah, I saw that, too. And if you do a "Look inside," the copyright date is 2019... thus my question. :)

September 10

On 9/10/21 6:46 AM, Ron Tarrant wrote:

>

I guess this is mainly a question for Ali, but if anyone else knows the answer, please jump in...

If I were to buy a paperback copy of "Programming in D: Tutorial & Reference" from Amazon (this link: https://www.amazon.ca/Programming-Tutorial-Reference-Ali-Cehreli/dp/1515074609/ref=sr_1_1?dchild=1&keywords=programming+in+d%3A+tutorial+and+reference&qid=1631270580&sr=8-1) would I be getting the 2021 edition or an earlier one?

If I can't get the latest edition from Amazon, is there a place where I can get it?

Thanks.

Ali's book is generally "print-on-demand".

But I don't know the details of how often it gets re-upped on those sites.

I'd suggest you wait for Ali to wake up (he's on west coast of the US), and he likely will respond ;)

-Steve

September 10
On 9/10/21 4:48 AM, Ron Tarrant wrote:
> On Friday, 10 September 2021 at 10:59:10 UTC, bauss wrote:
>
>> Publisher ‏ : ‎ CreateSpace Independent Publishing Platform; 1st
>> edition (Aug. 19 2015)
>
> Yeah, I saw that, too. And if you do a "Look inside," the copyright date
> is 2019... thus my question. :)

tldr; Yes, it's print-on-demand and 2019 is correct for the current print edition. I would download the PDF version from ddili.org.

The following is a list of different versions of the book.

1) The git clone on my computer is the newest, which I may sit on for weeks for minor corrections. (These corrections are recommended by most of you; thank you!) So, this version would have today's date and the code samples in the book (some of them) would be checked with the dmd version installed on my computer.

2) Although updating the site is pretty much automated and free, I may not bother updating the site for minor corrections.

If you are happy with a PDF version, the PDF at ddili.org is almost always newer and formatted in almost exactly the same way. The only format differences are that the online PDF version has colored code samples and it does not have a book cover.

Currently, the online PDF version says

D version: 2.094.2
Book revision: 2021-02-26

3a) The PDF version given to the printers is older partly because updates have some restrictions (e.g. a number of times per certain number of weeks) and updating them requires some labor.

I see from your message that the current print versions are from 2019.

3b) The ebook versions may be even older mostly because they require much more labor. (Passing the HTML through Calibre , clicking the correct boxes, etc.)

But I think the ebook versions are the same as the printer versions as of this writing.


Although I am very happy with the appreciation it gets, of course there are many parts of the book that I want to improve. Some parts even make me cringe. :)

- I am embarrassed that the copy constructors still are not in the book. (Post-blit is featured.)

- I want to rewrite parts of the "Imutability" chapter after emails from Don Allen. It was written before I understood immutable better. There are many examples in the book that use 'immutable' even though I always use 'const' in my own code:

  immutable a = Foo();  // Should be only when really necessary
      const b = Foo();  // Should be used almost always

I see people write 'immutable' on these forums and I feel guilty about it. :/

- I can't understand where I got the initial motivation to finish the book. I don't have it now. :/

- I want to thank Steven Schveighoffer here once more for his help with the book. I later realized that his name should have much more prominence. I can't understand how my older self did not realize this fact when the book was being finalized.

Ali


September 10
On Friday, 10 September 2021 at 14:21:12 UTC, Ali Çehreli wrote:

> The following is a list of different versions of the book.
>
> 1) The git clone on my computer is the newest, which I may sit on for weeks for minor corrections. (These corrections are recommended by most of you; thank you!) So, this version would have today's date and the code samples in the book (some of them) would be checked with the dmd version installed on my computer.
>
> 2) Although updating the site is pretty much automated and free, I may not bother updating the site for minor corrections.

The following page provides links to download the whole book in many formats: http://ddili.org/ders/d.en/index.html

Can you add a link to download the whole book in HTML/XHTML format please ? (say, a zipped file).

PDF is great for portability but nothing comes close to as reading large documents in native HTML format ... and (at least to me) far far better one (and only) huge document saved locally allowing you to instantly search back and forward ... and even far far far better: no CSS at all; just leave the rendering to my own browser preferences, as it was intended to in the beginnings.


September 10

On 9/10/21 10:21 AM, Ali Çehreli wrote:

>

I want to thank Steven Schveighoffer here once more for his help with the book. I later realized that his name should have much more prominence. I can't understand how my older self did not realize this fact when the book was being finalized.

Your memory may be quite faulty! I think I did review quite a bit of it, but I think I didn't finish reviewing everything (it is a big book).

But thank you!

-Steve

September 10
On Friday, 10 September 2021 at 14:21:12 UTC, Ali Çehreli wrote:

> tldr; Yes, it's print-on-demand and 2019 is correct for the current print edition. I would download the PDF version from ddili.org.

> D version: 2.094.2
> Book revision: 2021-02-26

Off the top of your head, do you know how much difference there is between the 2019 and 2021 version?

I'm asking all this because I thought it would be a good idea to have an analog copy handy for those times when I'm in need of reading material to keep me occupied during... um... those moments when I'm trapped in a small room with nothing to do but stare at the towel rack. I thought of printing out bits of the PDF, but wanted to explore the analog option first.

> Although I am very happy with the appreciation it gets, of course there are many parts of the book that I want to improve. Some parts even make me cringe. :)

Well, that's just typical of any writer, Ali. :) Any artist, really. I know your pain, sir.

On another note, I've been thinking about rewriting the GtkD Coding blog as a book sometime down the road, so after your remarks, I'm curious as to what the restriction is on how often the raw material can be updated.
September 10
On Friday, 10 September 2021 at 18:05:30 UTC, Ron Tarrant wrote:

> On another note, I've been thinking about rewriting the GtkD Coding blog as a book ...

interesting :)

September 10
On Friday, 10 September 2021 at 18:05:30 UTC, Ron Tarrant wrote:

> I'm asking all this because I thought it would be a good idea to have an analog copy handy

I second this; when Ali thinks the one printed on dead-tree-media is up-to date I'll snap a copy of it too; this is one of those books I definitely want on my bookshelf :)
« First   ‹ Prev
1 2