Jump to page: 1 2
Thread overview
"Programming in D" on Educative.io
May 07, 2020
Ali Çehreli
May 07, 2020
M.M.
May 13, 2020
Ali Çehreli
May 12, 2020
Pavel Shkadzko
May 13, 2020
Ali Çehreli
May 13, 2020
welkam
May 14, 2020
Ali Çehreli
May 14, 2020
ShadoLight
May 15, 2020
dangbinghoo
May 15, 2020
ShadoLight
May 15, 2020
welkam
May 07, 2020
I'm happy to announce that the first part of "Programming in D" is available on Educative.io:

  https://www.educative.io/courses/programming-in-d-ultimate-guide

(They will offer the second half later as a separate course.)

Educative.io offers interactive courses, mostly on technology and programming topics and they are looking for more D authors:

  https://www.educative.io/authors

I hope you will find the platform easy to work with and port your existing texts there or write new material. They added a D compiler to their platform for this book; so you're good to go. :)

This was the first professional editing of the book where *everything* was handled by their team. (So don't blame me e.g. if you don't like the book's subtitle. ;) ) They took my content and ported to their platform, which allows the reader to edit and compile code samples. There are some added quizes as well.

It is a paid course but as a reminder, the book will always be free as well:

  http://ddili.org/

And I am grateful to Educative.io for understanding that some books want to be free. In fact, they told me that books that are also available for free do sell more. Yay! :)

Ali
May 07, 2020
On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:
> It is a paid course but as a reminder, the book will always be free as well:
>
>   http://ddili.org/
>
> And I am grateful to Educative.io for understanding that some books want to be free. In fact, they told me that books that are also available for free do sell more. Yay! :)

Nice initiative with the online course. I will have a look soon; I am thinking of introducing D to my university students...

But I especially like your book (as a reference). I also bought it, although it is freely downloadable. I prefer paper to a display while reading outside in the garden or in the train. I hope you will keep the book up-to-date, especially with all the upcoming changes that might happen in the next iterations of the language.
May 12, 2020
On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:
> I'm happy to announce that the first part of "Programming in D" is available on Educative.io:
>
> [...]

This is great! Finally, a D course. It is a shorter than "Programming in D" book version though. But for the introductory course I think it's fine.
May 13, 2020
On 5/12/20 3:05 AM, Pavel Shkadzko wrote:
> On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:
>> I'm happy to announce that the first part of "Programming in D" is available on Educative.io:
>>
>> [...]
> 
> This is great! Finally, a D course. It is a shorter than "Programming in D" book version though. But for the introductory course I think it's fine.

Educative.io decided to provide the book in two parts. They are still working on the second part.

Ali

May 13, 2020
On 5/7/20 5:53 AM, M.M. wrote:> On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:

> Nice initiative with the online course. I will have a look soon; I am
> thinking of introducing D to my university students...

It's always exciting to see D used in teaching! :) Alex Ortiz, my contact at Educative.io, has student discounts. He say:

<quote>
Please have them reach out if they'd like to use this course as part of the curriculum.

Maybe those students can avail themselves of Educative-related resources. We're part of the GitHub Student Education
Pack <https://education.github.com/pack>, through which college students can avail themselves of a free 6-month subscription to our courses. We also sometimes have special scholarships in place on our side. Finally, we can offer university students specifically of your course a discounted rate or somesuch.

In any case, the professor can in the future email *support@educative.io <support@educative.io>*, explain that they're a
professor who wants to use your course(s) in their university curriculum, and ask what we have in place to help their
students.

</quote>

Ali


May 13, 2020
On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:
> Because D is a re-engineering of C++

I thought it was re-engineering of C
May 13, 2020
On 5/13/20 12:25 PM, welkam wrote:
> On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:
>> Because D is a re-engineering of C++
> 
> I thought it was re-engineering of C

Thanks. I will have it fixed.

Ali

May 14, 2020
On Wednesday, 13 May 2020 at 19:25:43 UTC, welkam wrote:
> On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:
>> Because D is a re-engineering of C++
>
> I thought it was re-engineering of C

This opinion seems quite common in the D community, but I frankly don't see it. If you are referring to the D subset defined by the BetterC switch, well, maybe then I would agree. But not for D in general.

FFI to C by itself does not make it a "re-engineering of C".

IIRC, Walter wrote somewhere (in the early days of D), that part of what inspired D was "wondering what C++ would have looked like if it wasn't constrained by backwards compatibility with C".

Or something to that effect. Let's see what the Wayback machine has to say:

"D was conceived in December 1999 by myself as a successor to C and C++..." [1]

"Many new concepts were added to the language with C++, but backwards compatibility with C was maintained, including compatibility with nearly all the weaknesses of the original design. There have been many attempts to fix those weaknesses, but the compatibility issue frustrates it. ..etc.." [2]

It is actually quite interesting to look at the original goals... and see where we are now.


[1] https://web.archive.org/web/20021205114505/http://digitalmars.com/d/index.html
[2] https://web.archive.org/web/20021205114505/http://digitalmars.com/d/index.html
May 15, 2020
On Thursday, 14 May 2020 at 08:42:43 UTC, ShadoLight wrote:
> On Wednesday, 13 May 2020 at 19:25:43 UTC, welkam wrote:
>> [...]
>
> This opinion seems quite common in the D community, but I frankly don't see it. If you are referring to the D subset defined by the BetterC switch, well, maybe then I would agree. But not for D in general.
>
> [...]

but D has GC enabled, then it's not re-engineering of C++.
May 15, 2020
On Friday, 15 May 2020 at 03:22:43 UTC, dangbinghoo wrote:
> On Thursday, 14 May 2020 at 08:42:43 UTC, ShadoLight wrote:
>> On Wednesday, 13 May 2020 at 19:25:43 UTC, welkam wrote:
>>> [...]
>>
>> This opinion seems quite common in the D community, but I frankly don't see it. If you are referring to the D subset defined by the BetterC switch, well, maybe then I would agree. But not for D in general.
>>
>> [...]
>
> but D has GC enabled, then it's not re-engineering of C++.

To quote you back at yourself: "but D has GC enabled, then it's not re-engineering of C" ... either.

D has unique features as well as features taken/inspired from other languages.

Anyway, I quoted Walter - he referred to "D was conceived ... as a successor to C and C++..." [1]. Note that he conceived of D as a _successor_ to both C and C++, not just C.

The term "re-engineering", IMHO, is a bit misleading - like if some C (or C++) codebase was "re-engineered" to become D. That is not what happened. But maybe this is not what the OP meant.

In fact, looking at some synonyms of the term "successor" [2] IMHO gives a better insight into the objectives of D in relation to C/C++ than the idea of a "re-engineered C" (or C++):

    -replacement
    -beneficiary
    -descendant
    -follower
    -inheritor
    -next in line

I guess you can argue over what the term "re-engineering" really covers/means, but my original objection was to the idea that D was somehow a "re-engineering" (or even "successor") of only C, and not of C++ as well. It was not one or the other, it was both.

[1] https://web.archive.org/web/20021205114505/http://digitalmars.com/d/index.html
[2] https://www.thesaurus.com/browse/successor
« First   ‹ Prev
1 2