www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Doubt about this book: The D Programming Language

reply Marko <marko gmail.com> writes:
On Amazon The D Programming Language has good reviews but it's 8 
years old. So is this book still relevant today?

Would you recommend another book?



Thanks,

Marko.
Dec 16 2018
next sibling parent reply Steven Schveighoffer <schveiguy gmail.com> writes:
On 12/16/18 1:37 PM, Marko wrote:
 On Amazon The D Programming Language has good reviews but it's 8 years 
 old. So is this book still relevant today?
Mostly, yes. And it's a pretty good book, even if it has some outdated parts. There's errata somewhere too.
 
 Would you recommend another book?
I highly recommend this book (available online for free or you can purchase a hard copy): http://ddili.org/ders/d.en/index.html It is continually updated by Ali, so it should be up to date with the latest compiler.
 

I hope you feel right at home here :) But I must warn you, if you're anything like me, you will hate having to go back to another language. -Steve
Dec 16 2018
next sibling parent bauss <jj_1337 live.dk> writes:
On Sunday, 16 December 2018 at 19:57:08 UTC, Steven Schveighoffer 
wrote:
 I hope you feel right at home here :) But I must warn you, if 
 you're anything like me, you will hate having to go back to 
 another language.

 -Steve
I think that's how most people start to feel when they start using D a lot. I know I have over the past few years when I've started to use D for 99% of everything I do.
Dec 16 2018
prev sibling next sibling parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 12/16/2018 11:57 AM, Steven Schveighoffer wrote:
 On 12/16/18 1:37 PM, Marko wrote:
 On Amazon The D Programming Language has good reviews but it's 8 years
 old. So is this book still relevant today?
I would still enjoy reading that book but some parts do not match current D.
 http://ddili.org/ders/d.en/index.html

 It is continually updated by Ali, so it should be up to date with the
 latest compiler.
I've been slacking lately. :/ HTML: Mosty up to date with 2.083 and code samples were compiled with it PDF: ditto Kindle and other e-books: Last updated on May 2017 :( Ali
Dec 16 2018
prev sibling parent MachineCode <jckj33 gmail.com> writes:
On Sunday, 16 December 2018 at 19:57:08 UTC, Steven Schveighoffer 
wrote:
 On 12/16/18 1:37 PM, Marko wrote:
 On Amazon The D Programming Language has good reviews but it's 
 8 years old. So is this book still relevant today?
Mostly, yes. And it's a pretty good book, even if it has some outdated parts. There's errata somewhere too.
 
 Would you recommend another book?
I highly recommend this book (available online for free or you can purchase a hard copy): http://ddili.org/ders/d.en/index.html It is continually updated by Ali, so it should be up to date with the latest compiler.
 

I hope you feel right at home here :) But I must warn you, if you're anything like me, you will hate having to go back to another language. -Steve
Dec 20 2018
prev sibling next sibling parent reply bachmeier <no spam.net> writes:
On Sunday, 16 December 2018 at 18:37:15 UTC, Marko wrote:
 On Amazon The D Programming Language has good reviews but it's 
 8 years old. So is this book still relevant today?

 Would you recommend another book?



 Thanks,

 Marko.
I can recommend D Cookbook https://www.packtpub.com/application-development/d-cookbook and Learning D https://www.packtpub.com/application-development/learning-d Sometimes Packt has sales and you can get them pretty cheap. They are rather different books, but both are well written, and they go into reasonable depth on the topics they cover, unlike a lot of programming books I've read.
Dec 16 2018
next sibling parent reply Jani Hur <spam com.invalid> writes:
On Sunday, 16 December 2018 at 22:02:44 UTC, bachmeier wrote:

 I can recommend D Cookbook
 https://www.packtpub.com/application-development/d-cookbook

 and Learning D
 https://www.packtpub.com/application-development/learning-d
Publish dates are 2014 and 2015. How much the language has changed/evolved since then and how much it will evolve in future ? So are these books relevant today and still next two years ?
 They are rather different books, but both are well written, and 
 they go into reasonable depth on the topics they cover, unlike 
 a lot of programming books I've read.
Sounds great ! I might bought these too if they are still relevant.
Dec 16 2018
next sibling parent Mike Parker <aldacron gmail.com> writes:
On Monday, 17 December 2018 at 06:08:58 UTC, Jani Hur wrote:

 Publish dates are 2014 and 2015. How much the language has 
 changed/evolved since then and how much it will evolve in 
 future ? So are these books relevant today and still next two 
 years ?
There haven't been any changes in the language significant enough to make either book irrelevant, nor will there be for a while. And the authors of both books hang out on the forums if you find any inaccuracies you'd like to ask about.
Dec 16 2018
prev sibling parent reply Adam D. Ruppe <destructionator gmail.com> writes:
On Monday, 17 December 2018 at 06:08:58 UTC, Jani Hur wrote:
 Publish dates are 2014 and 2015. How much the language has 
 changed/evolved since then and how much it will evolve in 
 future ?
There's a few minor changes in mine (the D Cookbook one), and a few typos in the book I didn't catch until too late that mean some examples won't literally compile anyway, but they are all quite small. I also tried to keep the examples straightforward, but the text talking about the process and thoughts behind it, so you can adapt that to your own purposes and that is fairly timeless. Just some of the stuff in there is a little bit easier now than it was when I wrote it, but knowing the building blocks is still useful and hasn't changed much.
Dec 17 2018
parent reply Ron Tarrant <rontarrant gmail.com> writes:
On Monday, 17 December 2018 at 15:32:37 UTC, Adam D. Ruppe wrote:

 There's a few minor changes in mine (the D Cookbook one), and a 
 few typos in the book I didn't catch until too late that mean 
 some examples won't literally compile anyway, but they are all 
 quite small.
Are these typos obvious, or is there an errata? I bought the PDF version, so maybe it's been revised?
Dec 17 2018
next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Tue, Dec 18, 2018 at 12:36:12AM +0000, Ron Tarrant via Digitalmars-d-learn
wrote:
 On Monday, 17 December 2018 at 15:32:37 UTC, Adam D. Ruppe wrote:
 
 There's a few minor changes in mine (the D Cookbook one), and a few
 typos in the book I didn't catch until too late that mean some
 examples won't literally compile anyway, but they are all quite
 small.
Are these typos obvious, or is there an errata?
[...] http://erdani.com/tdpl/errata/ T -- Meat: euphemism for dead animal. -- Flora
Dec 17 2018
prev sibling parent reply Adam D Ruppe <destructionator gmail.com> writes:
On Tuesday, 18 December 2018 at 00:36:12 UTC, Ron Tarrant wrote:
 Are these typos obvious, or is there an errata?
They're obvious. Stuff like doubled ; at the end of lines in code samples, or curly quotes when they should be straight. (They are the result of me fighting Microsoft Word and the review process with the publisher.) A few other things have changed, like near the end, there is a sample of my terminal library and back then it was `import terminal;`. Now it is `import arsd.terminal;` if you use the newer version of the library. But the rest still works.
Dec 17 2018
parent Ron Tarrant <rontarrant gmail.com> writes:
On Tuesday, 18 December 2018 at 01:16:54 UTC, Adam D Ruppe wrote:

 They're obvious. Stuff like doubled ; at the end of lines in 
 code samples, or curly quotes when they should be straight. 
 (They are the result of me fighting Microsoft Word and the 
 review process with the publisher.)

 A few other things have changed, like near the end, there is a 
 sample of my terminal library and back then it was `import 
 terminal;`. Now it is `import arsd.terminal;` if you use the 
 newer version of the library. But the rest still works.
Thanks, Adam. And I know what you mean about fighting MS Word. It's like trying to do a jigsaw puzzle while the cat keeps batting pieces onto the floor. Invariably, you're gonna end up diving for a piece and banging your head on the table.
Dec 18 2018
prev sibling parent Mike Parker <aldacron gmail.com> writes:
On Sunday, 16 December 2018 at 22:02:44 UTC, bachmeier wrote:

 Sometimes Packt has sales and you can get them pretty cheap.
All Packt ebooks are on sale for $5 right now, so this is a great time to pick up both books along with Kai's Vibe.d book.
Dec 17 2018
prev sibling parent XavierAP <n3minis-git yahoo.es> writes:
On Sunday, 16 December 2018 at 18:37:15 UTC, Marko wrote:
 On Amazon The D Programming Language has good reviews but it's 
 8 years old. So is this book still relevant today?
Yes, I would recommend it. It is meant to be comprehensive but introductory, so many language or library changes since are out of the scope anyway. It's then also quite different from a cookbook approach for example -- depends what you're looking for. You may perhaps compare it more closely with Ali's book, but unfortunately I haven't read this one.
Dec 19 2018