www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - De Facto standard for D programming language

reply Napster <devast001 gmail.com> writes:
I would like to start learning the De Facto standard. which book 
or document  would you use?

http://erdani.com/index.php/books/tdpl/

or

https://dlang.org/spec/intro.html

which one would you call de facto standard?
Apr 15 2016
parent reply jmh530 <john.michael.hall gmail.com> writes:
On Friday, 15 April 2016 at 17:51:41 UTC, Napster wrote:
 I would like to start learning the De Facto standard. which 
 book or document  would you use?

 http://erdani.com/index.php/books/tdpl/

 or

 https://dlang.org/spec/intro.html

 which one would you call de facto standard?
If I were learning D from the beginning, I would read Ali's book: http://ddili.org/ders/d.en/index.html I had read TDPL first and then from spec pages before finding his book. His book probably doesn't cover everything, so it's worth looking at those other sources as well.
Apr 15 2016
next sibling parent reply Napster <devast001 gmail.com> writes:
On Friday, 15 April 2016 at 18:19:44 UTC, jmh530 wrote:
 On Friday, 15 April 2016 at 17:51:41 UTC, Napster wrote:
 I would like to start learning the De Facto standard. which 
 book or document  would you use?

 http://erdani.com/index.php/books/tdpl/

 or

 https://dlang.org/spec/intro.html

 which one would you call de facto standard?
If I were learning D from the beginning, I would read Ali's book: http://ddili.org/ders/d.en/index.html I had read TDPL first and then from spec pages before finding his book. His book probably doesn't cover everything, so it's worth looking at those other sources as well.
I am writing a survey paper about D programming language. I want to use De Facto standard in my paper. I am not sure which one is? Both look the same.
Apr 15 2016
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 04/15/2016 11:31 AM, Napster wrote:

 I am writing a survey paper about D programming language.  I want to use
 De Facto standard in my paper. I  am not sure which one is? Both look
 the same.
https://dlang.org/spec/intro.html is it. TDPL is behind some of D changes at this point. Ali
Apr 15 2016
prev sibling parent reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 04/15/2016 11:19 AM, jmh530 wrote:
 On Friday, 15 April 2016 at 17:51:41 UTC, Napster wrote:
 I would like to start learning the De Facto standard. which book or
 document  would you use?

 http://erdani.com/index.php/books/tdpl/

 or

 https://dlang.org/spec/intro.html

 which one would you call de facto standard?
If I were learning D from the beginning, I would read Ali's book: http://ddili.org/ders/d.en/index.html I had read TDPL first and then from spec pages before finding his book. His book probably doesn't cover everything, so it's worth looking at those other sources as well.
Putting Phobos aside, I aim at including every keyword and pseudo keyword and every feature in the book. Even if I decide not to cover a particular keyword or feature, it should exist in the index. If you catch an omission please let me know. The benefit of an online book is that it can be up-to-date very quickly. For example, reduce() has already been replaced with fold() that came with 2.071: :) http://ddili.org/ders/d.en/ranges.html#ix_ranges.fold,%20std.algorithm (The CreateSpace edition has been updated as well but it takes a while for the readers see that change.) Having said that, there are some omissions of how some features interact. Ali
Apr 15 2016
parent jmh530 <john.michael.hall gmail.com> writes:
On Friday, 15 April 2016 at 18:41:23 UTC, Ali Çehreli wrote:
 Having said that, there are some omissions of how some features 
 interact.
I think it is a fantastic resource and have made much use out of it. I hope you keep updating it. It just happens that there are always some random quirks in D that I only notice if I pay really close attention to the spec. For instance, until Andrei pointed it out today I didn't realize that virtual member functions can't be templates. I've probably seen the line in the spec page, but didn't process it fully because the examples they use in there are not the best. At least with your book, everything is very readable with good examples.
Apr 15 2016