www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Effective D

reply IM <3di gm.com> writes:
Does anybody have a plan to write a book titled "Effective D"; 
similar to Effective Java, and Effective C++?

In particular, I'm interested in seeing a book that contains 
super advanced tips on how to use D effectively to achieve highly 
performanant, flexible, maintainable, and safe code. I mean the 
kind of book that someone at WekaIO or Sociomantic would have 
enough knowledge, experience, and a proven D-based product to 
write such book.

I'd definitely buy this book. I'd even donate to make it happen.
Oct 31 2018
next sibling parent reply Atila Neves <atila.neves gmail.com> writes:
On Thursday, 1 November 2018 at 04:59:10 UTC, IM wrote:
 Does anybody have a plan to write a book titled "Effective D"; 
 similar to Effective Java, and Effective C++?

 In particular, I'm interested in seeing a book that contains 
 super advanced tips on how to use D effectively to achieve 
 highly performanant, flexible, maintainable, and safe code. I 
 mean the kind of book that someone at WekaIO or Sociomantic 
 would have enough knowledge, experience, and a proven D-based 
 product to write such book.

 I'd definitely buy this book. I'd even donate to make it happen.
I started jotting down ideas for an Effective D book.
Nov 01 2018
parent reply jmh530 <john.michael.hall gmail.com> writes:
On Thursday, 1 November 2018 at 12:55:37 UTC, Atila Neves wrote:
 [snip]

 I started jotting down ideas for an Effective D book.
I'd buy it.
Nov 01 2018
parent IM <3di gm.com> writes:
On Thursday, 1 November 2018 at 13:06:02 UTC, jmh530 wrote:
 On Thursday, 1 November 2018 at 12:55:37 UTC, Atila Neves wrote:
 [snip]

 I started jotting down ideas for an Effective D book.
I'd buy it.
Awesome! I'd buy it too. Thanks!
Nov 01 2018
prev sibling next sibling parent reply Guillaume Piolat <spam smam.org> writes:
On Thursday, 1 November 2018 at 04:59:10 UTC, IM wrote:
 Does anybody have a plan to write a book titled "Effective D"; 
 similar to Effective Java, and Effective C++?
Not a book, but I've written 70+ articles here: https://p0nce.github.io/d-idioms/ (with some external contribution too). Effective D without the haircut. The problem of "Effective D" is that: - usage cases are still being discovered, you are making up the culture as you go - it's not clear the language have enough accidental complexity to fill entire series of books. If D would add complexity we could have our own "50 tips for your D team at scale". I'm hopeful for all the new DIPs to bring a bit more confusion.
Nov 01 2018
parent IM <3di gm.com> writes:
On Thursday, 1 November 2018 at 13:49:15 UTC, Guillaume Piolat 
wrote:
 On Thursday, 1 November 2018 at 04:59:10 UTC, IM wrote:
 Does anybody have a plan to write a book titled "Effective D"; 
 similar to Effective Java, and Effective C++?
Not a book, but I've written 70+ articles here: https://p0nce.github.io/d-idioms/ (with some external contribution too). Effective D without the haircut.
Just checked the list of topics. Indeed seems very useful. I need to take the time to go through all the items. Thanks for the effort!
 The problem of "Effective D" is that:
 - usage cases are still being discovered, you are making up the 
 culture as you go

 - it's not clear the language have enough accidental complexity 
 to fill entire series of books.

 If D would add complexity we could have our own "50 tips for 
 your D team at scale". I'm hopeful for all the new DIPs to 
 bring a bit more confusion.
Nov 01 2018
prev sibling next sibling parent reply Stefan Koch <uplink.coder googlemail.com> writes:
On Thursday, 1 November 2018 at 04:59:10 UTC, IM wrote:
 Does anybody have a plan to write a book titled "Effective D"; 
 similar to Effective Java, and Effective C++?

 In particular, I'm interested in seeing a book that contains 
 super advanced tips on how to use D effectively to achieve 
 highly performanant, flexible, maintainable, and safe code. I 
 mean the kind of book that someone at WekaIO or Sociomantic 
 would have enough knowledge, experience, and a proven D-based 
 product to write such book.

 I'd definitely buy this book. I'd even donate to make it happen.
I think the point of D is that one would not need such a book. In sociomantc and weka-io, I'd think it's less about D and more about knowing the quirks of the linux kernel.
Nov 01 2018
parent reply Atila Neves <atila.neves gmail.com> writes:
On Thursday, 1 November 2018 at 15:06:11 UTC, Stefan Koch wrote:
 On Thursday, 1 November 2018 at 04:59:10 UTC, IM wrote:
 Does anybody have a plan to write a book titled "Effective D"; 
 similar to Effective Java, and Effective C++?

 In particular, I'm interested in seeing a book that contains 
 super advanced tips on how to use D effectively to achieve 
 highly performanant, flexible, maintainable, and safe code. I 
 mean the kind of book that someone at WekaIO or Sociomantic 
 would have enough knowledge, experience, and a proven D-based 
 product to write such book.

 I'd definitely buy this book. I'd even donate to make it 
 happen.
I think the point of D is that one would not need such a book. In sociomantc and weka-io, I'd think it's less about D and more about knowing the quirks of the linux kernel.
I agree that's the point of D, but the reality is that gotchas (and bugs) exist.
Nov 02 2018
parent jmh530 <john.michael.hall gmail.com> writes:
On Friday, 2 November 2018 at 12:42:17 UTC, Atila Neves wrote:
 [snip]

 I agree that's the point of D, but the reality is that gotchas 
 (and bugs) exist.
Of course, Effective C++ covers more than just how to avoid gotchas and bugs. It's more like a best practices kind of book.
Nov 02 2018
prev sibling parent reply AlCaponeJr <al gmail.com> writes:
A book that I'd like to see, would be one with famous C/C++ 
algorithms converted to D showing the advantages of this language.

Because sometimes I write D but my code seems pretty much like 
the other languages.

Al.
Nov 02 2018
parent welkam <wwwelkam gmail.com> writes:
On Friday, 2 November 2018 at 13:30:43 UTC, AlCaponeJr wrote:
 Because sometimes I write D but my code seems pretty much like 
 the other languages.
I see no problem with this.
Nov 02 2018