digitalmars.D.learn - Is TDPL an accurate description of the D language today?
- Mark (8/8) Sep 27 2016 I've been going through Andrei's excellent book and I noticed
- Steven Schveighoffer (8/15) Sep 27 2016 Most things that are "wrong" in the book should be in the errata:
- Mark (1/1) Sep 28 2016 OK. Thanks, Steve.
- Mark (7/28) Oct 28 2016 Another thing that I found today is that the book suggests nested
- rikki cattermole (5/30) Oct 28 2016 Ranges were the 'big' idiom that changed this.
I've been going through Andrei's excellent book and I noticed that the latest printing is from 2010. Since D is still a very young language I can imagine it changing quite a bit within six years. So I wonder if there are any major inconsistincies between the current state of the language and its description in TDPL. Is there a list somewhere with all the changes made in the langauge since the book was published? Thanks a lot.
Sep 27 2016
On 9/27/16 1:38 PM, Mark wrote:I've been going through Andrei's excellent book and I noticed that the latest printing is from 2010. Since D is still a very young language I can imagine it changing quite a bit within six years. So I wonder if there are any major inconsistincies between the current state of the language and its description in TDPL. Is there a list somewhere with all the changes made in the langauge since the book was published? Thanks a lot.Most things that are "wrong" in the book should be in the errata: http://erdani.com/tdpl/errata/ There are also some things that are not wrong in the book, but have not been implemented. I think the most glaring difference is that "clear" has been renamed to "destroy". -Steve
Sep 27 2016
On Tuesday, 27 September 2016 at 17:53:39 UTC, Steven Schveighoffer wrote:On 9/27/16 1:38 PM, Mark wrote:Another thing that I found today is that the book suggests nested structs within functions are of little use. I guess Voldemort types were introduced into the language after the book was published. Should this be on the errata page? It's not exactly an error.I've been going through Andrei's excellent book and I noticed that the latest printing is from 2010. Since D is still a very young language I can imagine it changing quite a bit within six years. So I wonder if there are any major inconsistincies between the current state of the language and its description in TDPL. Is there a list somewhere with all the changes made in the langauge since the book was published? Thanks a lot.Most things that are "wrong" in the book should be in the errata: http://erdani.com/tdpl/errata/ There are also some things that are not wrong in the book, but have not been implemented. I think the most glaring difference is that "clear" has been renamed to "destroy". -Steve
Oct 28 2016
On 29/10/2016 1:35 AM, Mark wrote:On Tuesday, 27 September 2016 at 17:53:39 UTC, Steven Schveighoffer wrote:Ranges were the 'big' idiom that changed this. Otherwise they are indeed of little use. I think it shouldn't be included, but since you feel otherwise, email Andrei and let him know, no harm either way :)On 9/27/16 1:38 PM, Mark wrote:Another thing that I found today is that the book suggests nested structs within functions are of little use. I guess Voldemort types were introduced into the language after the book was published. Should this be on the errata page? It's not exactly an error.I've been going through Andrei's excellent book and I noticed that the latest printing is from 2010. Since D is still a very young language I can imagine it changing quite a bit within six years. So I wonder if there are any major inconsistincies between the current state of the language and its description in TDPL. Is there a list somewhere with all the changes made in the langauge since the book was published? Thanks a lot.Most things that are "wrong" in the book should be in the errata: http://erdani.com/tdpl/errata/ There are also some things that are not wrong in the book, but have not been implemented. I think the most glaring difference is that "clear" has been renamed to "destroy". -Steve
Oct 28 2016