www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - "Programming in D" on Educative.io

reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
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
next sibling parent reply M.M. <matus email.cz> writes:
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 07
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 5/7/20 5:53 AM, M.M. wrote:> On Thursday, 7 May 2020 at 09:18:04 UTC, =

Ali =C3=87ehreli 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=20 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=20 the curriculum. Maybe those students can avail themselves of Educative-related=20 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=20 also sometimes have special scholarships in place on our side. Finally,=20 we can offer university students specifically of your course a=20 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=20 curriculum, and ask what we have in place to help their students. </quote> Ali
May 13
prev sibling next sibling parent reply Pavel Shkadzko <p.shkadzko gmail.com> writes:
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 12
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 5/12/20 3:05 AM, Pavel Shkadzko wrote:
 On Thursday, 7 May 2020 at 09:18:04 UTC, Ali =C3=87ehreli wrote:
 I'm happy to announce that the first part of "Programming in D" is=20
 available on Educative.io:

 [...]
=20 This is great! Finally, a D course. It is a shorter than "Programming i=
n=20
 D" book version though. But for the introductory course I think it's fi=
ne. Educative.io decided to provide the book in two parts. They are still=20 working on the second part. Ali
May 13
prev sibling parent reply welkam <wwwelkam gmail.com> writes:
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
next sibling parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 5/13/20 12:25 PM, welkam wrote:
 On Thursday, 7 May 2020 at 09:18:04 UTC, Ali =C3=87ehreli wrote:
 Because D is a re-engineering of C++
=20 I thought it was re-engineering of C
Thanks. I will have it fixed. Ali
May 13
prev sibling parent reply ShadoLight <ettienne.gilbert gmail.com> writes:
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 14
next sibling parent reply dangbinghoo <dangbinghoo gmail.com> writes:
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 14
parent ShadoLight <ettienne.gilbert gmail.com> writes:
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
May 15
prev sibling parent welkam <wwwelkam gmail.com> writes:
On Thursday, 14 May 2020 at 08:42:43 UTC, ShadoLight wrote:
 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.
At first this language was called Mars and it was simple. It was one man`s project. Walter fixed the flaws he saw in C but made sure that porting C to Mars was easy - copied code either compiled or threw an error. Then Andrei came and he put all that metaprogramming, generics, introspection and more on top of the base that Walter built. I dont think you can call D as re engineering of C++ when it was one person project. But historical accuracy is not why I raised that question. I remember there was a post by a C++ programmer that came to this mailing list saying that a year ago he tried D because he was told that its similar to C++ but without all the cruft or something like that. I dont remember exactly. Because D does not behave like C++ that programmer didnt like the language. One year later he tried D again but this time he came to D from the point of it being like C but with its flaws fixed and stuff added to that core. Then he liked the language. The language didnt change but his enjoyment changed when he changed his expectations.
May 15