Thread overview
My new programming book ...
Nov 06, 2022
ikelaiah
Nov 06, 2022
Imperatorn
Nov 07, 2022
zjh
Nov 07, 2022
Adam D Ruppe
Nov 07, 2022
zjh
Nov 08, 2022
Adam D Ruppe
Nov 08, 2022
zjh
Nov 07, 2022
ikelaiah
Nov 07, 2022
zjh
Nov 08, 2022
Adam D Ruppe
November 06, 2022

Hi,

I got a new programming book yesterday, authored by Adam D. Rupee.

new-book.

I'm still in Chapter 1, on the matter of Immutable variables.
Can't wait to read Chapter 7 on Corectness and Documentation.

So far, I really like the book.

  • Alexandrei's foreword on the importance of drawing experience from and for others.
  • The book convention (code, info, warning, new terms, etc) is easy to follow.
  • The explanation is also easy to digest.

A bit of context of myself: I used to do C++, Java and C#.
Currently work with: Python, R, PHP, SQL, common web-stack (html, css, js+libs).

I'm hoping to integrate more D into my data transformation and data reporting workflow.

@Adam D. Rupee, thanks for this book.

Regards,
Ikel

November 06, 2022

On Sunday, 6 November 2022 at 22:43:33 UTC, ikelaiah wrote:

>

Hi,

I got a new programming book yesterday, authored by Adam D. Rupee.

[...]

Agreed. It's a great book with a "get it done"-attitude <3

November 07, 2022

On Sunday, 6 November 2022 at 22:43:33 UTC, ikelaiah wrote:

>

Hi,

...

Is there a second edition? After all, it has been many years.

November 07, 2022
On Monday, 7 November 2022 at 00:55:33 UTC, zjh wrote:
> Is there a second edition? After all, it has been many years.

No, but not that much has changed and you can always post here with questions.
November 07, 2022

On Monday, 7 November 2022 at 00:55:33 UTC, zjh wrote:

>

Is there a second edition? After all, it has been many years.

Hi zjh,

I'm aware of the publication date. However, I find the content still highly relevant to many day-to-day tasks (my use case).

No doubt, there will be new features in the std library.
For further/additional tips and tricks, I'd gladly ask in the D discord channel or this forum.

-Ikel

November 07, 2022

On Monday, 7 November 2022 at 04:54:05 UTC, ikelaiah wrote:

>

...

Yes, more than 100 skills, not easy get.

November 07, 2022

On Monday, 7 November 2022 at 01:06:23 UTC, Adam D Ruppe wrote:

>

No, but not that much has changed and you can always post here with questions.

How is your minigui? Please write an introduction when you have time.

November 08, 2022
On Monday, 7 November 2022 at 04:54:05 UTC, ikelaiah wrote:
> I'm aware of the publication date. However, I find the content still highly relevant to many day-to-day tasks (my use case).

Yeah, I tried to focus more on the ideas behind it than the specifics of a library. My thought is if you understand what it is trying to do, the adjustments to bring it up to date shouldn't be too hard.

It took some effort to avoid talking more about my libraries though lol. I did do a few small examples near the end of the book, and some of those have had minor changes, like I've since renamed "import simpledisplay" to "import arsd.simpledisplay". But the rest of it should still work, i try to keep things pretty stable in my libs.

BTW one of the things in chapter 2 i found surprisingly popular was the talk about std.socket. I did write a follow-up to that in my blog here:
http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html#sockets-tutorial

Since the socket api is the same as C, I assumed people would know it from other sources, but the C api isn't as common knowledge as it used to be. So this tries to explain (tho even there I didn't go into ipv6 fallbacks and whatnot but it still lays the foundation).

And of course always feel free to ask here or whatever about anything, if I'm online I try to answer things pretty quickly.
November 08, 2022
On Monday, 7 November 2022 at 06:10:46 UTC, zjh wrote:
> How is your `minigui`? Please write an `introduction` when you have time.

It is on my list but minigui is a pretty simple class collection of basic widgets. It works pretty well now. I don't have too many intro examples yet though. My blog has one thing but it uses an experimental piece (http://dpldocs.info/this-week-in-d/Blog.Posted_2020_11_02.html) that isn't  really representative of the average program.

But if I make it to the dconf online I'll probably show off a minigui application there this year.
November 08, 2022

On Tuesday, 8 November 2022 at 13:55:44 UTC, Adam D Ruppe wrote:

>

It is on my list but minigui is a pretty simple class collection of basic widgets. It works pretty well now. I don't have too many intro examples yet though. My blog has one thing but it uses an experimental piece (http://dpldocs.info/this-week-in-d/Blog.Posted_2020_11_02.html) that isn't really representative of the average program.

But if I make it to the dconf online I'll probably show off a minigui application there this year.

Thank you. I think gui is also suitable for d.