Thread overview | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 23, 2013 D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Attachments:
| Hi,
Wanting to learn another modern statically typed language I decided upon learning D and have ordered Andrei Alexandrescu's book 'The D Programming Language'. Watching Walter Bright's DConf 2013's keynote last night, someone mentioned it was already out of date.
I was wondering is there is a list of things that have changed since the book was printed? Something along the lines of "The book says x, nowadays its better to do y" type of document?
--
Guido Kollerie
|
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guido Kollerie | On Wednesday, 23 October 2013 at 07:41:54 UTC, Guido Kollerie wrote: > Hi, > > Wanting to learn another modern statically typed language I decided upon > learning D and have ordered Andrei Alexandrescu's book 'The D > Programming Language'. Watching Walter Bright's DConf 2013's keynote > last night, someone mentioned it was already out of date. > > I was wondering is there is a list of things that have changed since the > book was printed? Something along the lines of "The book says x, > nowadays its better to do y" type of document? http://erdani.com/tdpl/errata/ |
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo Attachments:
| On 23/10/13 09:43 , simendsjo wrote: > On Wednesday, 23 October 2013 at 07:41:54 UTC, Guido Kollerie wrote: >> I was wondering is there is a list of things that have changed since the book was printed? Something along the lines of "The book says x, nowadays its better to do y" type of document? > > http://erdani.com/tdpl/errata/ Thanks for the link to the errata. Very welcome. Though what I was looking for specifically is a document that lists syntax, techniques, best practices that the books describes but that have been superseded but newer syntax, techniques and/or best practices. -- Guido Kollerie |
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guido Kollerie | On Wednesday, 23 October 2013 at 11:17:08 UTC, Guido Kollerie wrote: > On 23/10/13 09:43 , simendsjo wrote: >> On Wednesday, 23 October 2013 at 07:41:54 UTC, Guido Kollerie wrote: > >>> I was wondering is there is a list of things that have changed since the >>> book was printed? Something along the lines of "The book says x, >>> nowadays its better to do y" type of document? >> >> http://erdani.com/tdpl/errata/ > > Thanks for the link to the errata. Very welcome. > > Though what I was looking for specifically is a document that lists > syntax, techniques, best practices that the books describes but that > have been superseded but newer syntax, techniques and/or best practices. Ah, my bad. I don't know of any unfortunately. Perhaps Alis book (although it's meant for beginning programmers) http://ddili.org/ders/d.en/index.html Rosettacode might have some examples. Bearophile has been trying to code them using idiomatic D I think. http://rosettacode.org/wiki/Category:D And the wiki might have some info. http://wiki.dlang.org/The_D_Programming_Language |
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guido Kollerie | On Wednesday, 23 October 2013 at 07:41:54 UTC, Guido Kollerie wrote:
> Hi,
>
> Wanting to learn another modern statically typed language I decided upon
> learning D and have ordered Andrei Alexandrescu's book 'The D
> Programming Language'. Watching Walter Bright's DConf 2013's keynote
> last night, someone mentioned it was already out of date.
>
> I was wondering is there is a list of things that have changed since the
> book was printed? Something along the lines of "The book says x,
> nowadays its better to do y" type of document?
I don't believe there's any official list. A few things I can think of off the top of my head are: shared isn't implemented, scope is only partially implemented for delegates, multiple alias this is not implemented.
|
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Wednesday, 23 October 2013 at 11:47:47 UTC, Meta wrote:
> On Wednesday, 23 October 2013 at 07:41:54 UTC, Guido Kollerie wrote:
>> Hi,
>>
>> Wanting to learn another modern statically typed language I decided upon
>> learning D and have ordered Andrei Alexandrescu's book 'The D
>> Programming Language'. Watching Walter Bright's DConf 2013's keynote
>> last night, someone mentioned it was already out of date.
>>
>> I was wondering is there is a list of things that have changed since the
>> book was printed? Something along the lines of "The book says x,
>> nowadays its better to do y" type of document?
>
> I don't believe there's any official list. A few things I can think of off the top of my head are: shared isn't implemented, scope is only partially implemented for delegates, multiple alias this is not implemented.
The book was written before UDAs, so that's new.
And before UFCS..?
|
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | On Wednesday, 23 October 2013 at 11:51:22 UTC, simendsjo wrote:
> And before UFCS..?
AFAIR it mentions only partial UFCS, for built-in stuff
|
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Guido Kollerie | It would be great to have updated TDPL book... |
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Wednesday, 23 October 2013 at 12:39:22 UTC, Suliman wrote:
> It would be great to have updated TDPL book...
I think it is tiny bit too early. Probably a good time can be somewhere after next DConf, after fate of some controversial features/issues is determined and set in stone.
|
October 23, 2013 Re: D Programming Language book - outdated, list of changes since? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On Wednesday, 23 October 2013 at 11:59:19 UTC, Dicebot wrote:
> On Wednesday, 23 October 2013 at 11:51:22 UTC, simendsjo wrote:
>> And before UFCS..?
>
> AFAIR it mentions only partial UFCS, for built-in stuff
It calls them "pseudo members"* and only spends a couple paragraphs on them. It talks about them in the context of needing to add members to built-in types (an array example is given) but doesn't say they only work for built-in types. It's surprisingly little coverage for a feature that has become highly used since it was finally fully implemented not long ago.
* I actually like the name "pseudo members" much better than UFCS. (Uniform/Unified/Universal) Function Call Syntax doesn't really tell you anything about what is going on and the fact that it's almost always referred to by initialism just obfuscates what it is further and lead to the state we are in where people keep using different words for the 'U'.
|
Copyright © 1999-2021 by the D Language Foundation