September 21, 2021

On Monday, 20 September 2021 at 22:05:36 UTC, tastyminerals wrote:

>

On Thursday, 16 September 2021 at 17:06:39 UTC, Ron Tarrant wrote:

>

My copy of Ali's book just came. Holy crap, it's thick!

It's never obvious how much effort goes into a work like this until one can hold it in one's hands and leaf through. I'm humbled.

I also bought it, very nice hardcover and yes it is big. It is quite slow-paced and very detailed. Although, I should say it feels a bit rushed in the second half in some places. Anyway, the best D book hands down.

I think we're lucky to have several options: Ali's, Adam's, and Mike's all target different audiences, but they're all high quality. I haven't looked at Andrei's book in a long time, but everyone seems to agree that it's really good too.

September 22, 2021
On 9/17/21 3:15 AM, Bastiaan Veelo wrote:
> On Thursday, 16 September 2021 at 21:39:31 UTC, Ali Çehreli wrote:
>> I went to a coffee shop today to improve the Immutability chapter.
>> (Nothing published yet.)
>
> I am looking forward to that! You have stirred my curiosity in
> https://forum.dlang.org/post/shfpko$2adb$1@digitalmars.com

I've been thinking about replacing 'immutable's of the following type with 'const' (which I use in my own code) throughout the book:

void foo() {
  immutable i = 42;  // Bad?
  // ...
}

void foo() {
  const i = 42;      // Good?
  // ...
}

I started a new discussion to confuse myself even further before committing that change. :)


https://forum.dlang.org/thread/sig2d4$657$1@digitalmars.com#post-sig2d4:24657:241:40digitalmars.com

Ali


September 22, 2021
On 9/18/21 8:49 AM, Johann Lermer wrote:

> I meant if those changes are marked or maybe they are
> mentioned in a list at the end of the book, so that one can easily find
> them.

Unfortunately, not in the book. The git commits are available but my comments are too terse there to be useful:

  https://bitbucket.org/acehreli/ddili/commits/

> Because since D sometimes changes and apart from the occasional
> discussion here there's nowhere one can keep track of those new
> features.

The Change Log is pretty useful though:

  https://dlang.org/changelog/index.html

Ali

1 2
Next ›   Last »