May 30, 2014
On Friday, 30 May 2014 at 13:25:28 UTC, Adam D. Ruppe wrote:
> On Friday, 30 May 2014 at 11:25:45 UTC, Chris wrote:
>> If you already know D, you don't need to read it cover-to-cover. Just read the sexy bits :)
>
> Yea, I also tried to keep the dependencies on previous content to a minimum or at the least, explicit to make jumping around that much easier.
>
> That said though, after the first few pages, I tried to say things that are at least interesting to the target intermediate+ audience; like page one talks about installing dmd, boring, but by page 4 I tried to answer a FAQ about modules and also worked my agenda to clear up the directory structure common misconception "Modules have logical names that do not need to match the filename." which is something you can get work done without knowing; it might be new even to someone who has used D before and understanding this can make sense of a number of compile/link errors that come up.
>
> So, while I feel chapters one and two are the weakest links (and I definitely dropped the ball on editing the code on chapter one), hopefully none of the stuff is outright useless even if you've seen it before and have read the website documentation.

Yep. I read bits of Chapter 1 and learned things I didn't know yet. No matter how much you know, something always escapes you. I've learned tricks even from bad musicians (like the AK 47 thing).
May 30, 2014
On Fri, 30 May 2014 11:48:56 +0000
Chris via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com>
wrote:

> On Friday, 30 May 2014 at 11:46:35 UTC, w0rp wrote:
> > I received my copy this morning, earlier than I thought I would. I shall check it out over the weekend. I suspect I'll probably know a lot of the things in the book, but I'm the type who likes to watch introductory lectures because there's always something I didn't see before.
>
> You're right, of course. There's _always_ something you can learn, even if you think you know it all.

What I find sometimes is that even if I know most things about something, I still forget things that I knew (particularly if I don't use that knowledge regularly), so reading something like this could jog your memory about things and thus improve your knowledge, even if you actually had known all of it at some point (though the odds are still that there are at least a few things in it that you never learned, even if you know a lot).

- Jonathan M Davis
May 30, 2014
Walter Bright wrote:

> http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
> 
> http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
> 
> 
http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
> 
> After watching Adam's most excellent presentation at Dconf, I'm sure the book will be great! My copy gets here on Friday.

https://drive.google.com/file/d/0BzpDFld47vULS1VSZl9JaG1PMkk

:D

-- 
http://dejan.lekic.org
June 01, 2014
I am happy to report that it is on Safari Books website as well. Sweet!

It really compliment's TDPL and Ali's book as well.
June 04, 2014
On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
> http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
>
> http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
>
> http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
>
> After watching Adam's most excellent presentation at Dconf, I'm sure the book will be great! My copy gets here on Friday.


Just received mine in the mail =)

I now have something interesting to read ;)
June 05, 2014
On Wednesday, 4 June 2014 at 09:45:39 UTC, ezneh wrote:
> On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
>> http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
>>
>> http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
>>
>> http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
>>
>> After watching Adam's most excellent presentation at Dconf, I'm sure the book will be great! My copy gets here on Friday.
>
>
> Just received mine in the mail =)
>
> I now have something interesting to read ;)

My hard copy arrived today. Now I can read it anywhere I like ;)

Funnily enough, it's only the second book about D and still I've been more productive in D than in any other language, languages for which thousands of titles are available.
June 05, 2014
On 2014-06-05 11:25, Chris wrote:

> My hard copy arrived today. Now I can read it anywhere I like ;)
>
> Funnily enough, it's only the second book about D and still I've been
> more productive in D than in any other language, languages for which
> thousands of titles are available.

There's a book about D1 and Tango as well. Also some Chinese book, or that might have been a translation.

-- 
/Jacob Carlborg
June 06, 2014
On Thursday, 5 June 2014 at 17:48:44 UTC, Jacob Carlborg wrote:
> On 2014-06-05 11:25, Chris wrote:
>
>> My hard copy arrived today. Now I can read it anywhere I like ;)
>>
>> Funnily enough, it's only the second book about D and still I've been
>> more productive in D than in any other language, languages for which
>> thousands of titles are available.
>
> There's a book about D1 and Tango as well. Also some Chinese book, or that might have been a translation.

There's Ali's online tutorial, of course. Great stuff. But a cookbook was really the thing I needed. Just to pick it up and to know "How to send an email" is great.

A lot of stuff here on the forum is about language design, which made D what it is. However, a lot of things in programming are plain and simple everyday problems like having your program send an email. I recently told a coworker to have a look at D and maybe use it for his number crunching algorithms. You can get far in D without templates, mixins and ranges. You don't need to learn them before you can use the language. You learn about them as you go along. You can dig right in. Maybe that's part of the reasons why people are reluctant to use D. They think you have to be a rocket scientist to write a program. You don't. But it will turn you into one :-)
June 09, 2014
On 2014-05-28 20:14, Walter Bright wrote:
> http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
>
>
> http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217
>
> http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
>
>
> After watching Adam's most excellent presentation at Dconf, I'm sure the
> book will be great! My copy gets here on Friday.

Adam, I noticed that you mentioned DStep in the book. By reading the part about integrating with C++ I got the impression that DStep can handle C++. Currently, that's not the case.

-- 
/Jacob Carlborg
June 10, 2014
On Friday, 30 May 2014 at 11:48:57 UTC, Chris wrote:
> There's _always_ something you can learn, even if you think you know it all.

Like the fact that you can @disable this() for a struct, even though you can't implement it. I didn't know that, but I have the perfect use case for it (and it's one which has bothered me for a long time). Thanks, Adam!