www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - "Programming in D" book is about 78% translated

reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
I have continued with the translation of the book. At this point there 
are 551 pages in English of total 711 pages in Turkish.

In addition to many corrections and additions throughout the book, there 
are the following chapters translated:

* Universal Function Call Syntax (UFCS)
* Properties
* Contract Programming for Structs and Classes
* alias
* alias this
* Pointers

As a reminder, the book is available as PDF, downloadable from the 
header of each chapter:

   http://ddili.org/ders/d.en/index.html

No Kindle or Lulu versions yet.

Ali
Jan 31 2013
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 1/31/2013 9:10 PM, Ali Çehreli wrote:
 I have continued with the translation of the book. At this point there are 551
 pages in English of total 711 pages in Turkish.

 In addition to many corrections and additions throughout the book, there are
the
 following chapters translated:

 * Universal Function Call Syntax (UFCS)
 * Properties
 * Contract Programming for Structs and Classes
 * alias
 * alias this
 * Pointers

 As a reminder, the book is available as PDF, downloadable from the header of
 each chapter:

    http://ddili.org/ders/d.en/index.html

 No Kindle or Lulu versions yet.
Looking forward to getting it finished. And a Kindle version is very important! Amazon reaches a very wide audience.
Feb 01 2013
parent reply Dejan Lekic <dejan.lekic gmail.com> writes:
Walter Bright wrote:

 On 1/31/2013 9:10 PM, Ali Çehreli wrote:
 I have continued with the translation of the book. At this point there are 
551
 pages in English of total 711 pages in Turkish.

 In addition to many corrections and additions throughout the book, there are 
the
 following chapters translated:

 * Universal Function Call Syntax (UFCS)
 * Properties
 * Contract Programming for Structs and Classes
 * alias
 * alias this
 * Pointers

 As a reminder, the book is available as PDF, downloadable from the header of
 each chapter:

    http://ddili.org/ders/d.en/index.html

 No Kindle or Lulu versions yet.
Looking forward to getting it finished. And a Kindle version is very
important!
 Amazon reaches a very wide audience.
I have yet to see a Kindle or ePUB scientific book that can be compared to the paper one... I stopped buying scientific literature for Kindle... I buy only novels. Often printed copies of books have columns on the side of the text that provide very useful examples of whatever the current section is talking about. These are never done properly in electronic books. If there is an example of such, please let me know - I would like to see it. Maybe it is only me and my taste... Idk... -- Dejan Lekic dejan.lekic (a) gmail.com http://dejan.lekic.org
Feb 03 2013
parent reply "Peter Sommerfeld" <noreply rubrica.at> writes:
Dejan Lekic wrote:

 I have yet to see a Kindle or ePUB scientific book that can be compared  
 to the  paper one... I stopped buying scientific literature for Kindle... 
 I buy  only novels.
Me too! Unfortunately I bought Andrei's book for Kindle. It occasionally blocks on Kindle, even after I have reloaded it a few times. Works well on my laptop though. Theoretically searching would be an advantage for electronic books, but it is nearly useless without complex queries. And the table of contents lists chapters only... Peter
Feb 03 2013
parent Dejan Lekic <dejan.lekic gmail.com> writes:
Peter Sommerfeld wrote:

 Dejan Lekic wrote:
 
 I have yet to see a Kindle or ePUB scientific book that can be compared
 to the  paper one... I stopped buying scientific literature for Kindle...
 I buy  only novels.
Me too! Unfortunately I bought Andrei's book for Kindle. It occasionally blocks on Kindle, even after I have reloaded it a few times. Works well on my laptop though. Theoretically searching would be an advantage for electronic books, but it is nearly useless without complex queries. And the table of contents lists chapters only... Peter
Good to see that I am not the only one... :) Yes, search and hyperlinks are advantage, but the so far I rarely search, I read book from first page to the last, and the most important thing for me is the readability. Even the source code is formatted poorly in ePUB and Kindle, especially if I decide to increase slightly the overall font size in the book by few points... -- Dejan Lekic dejan.lekic (a) gmail.com http://dejan.lekic.org
Feb 03 2013
prev sibling next sibling parent reply Philippe Sigaud <philippe.sigaud gmail.com> writes:
On Fri, Feb 1, 2013 at 6:10 AM, Ali =C3=87ehreli <acehreli yahoo.com> wrote=
:
 I have continued with the translation of the book. At this point there ar=
e
 551 pages in English of total 711 pages in Turkish.

 In addition to many corrections and additions throughout the book, there =
are
 the following chapters translated:

 * Universal Function Call Syntax (UFCS)
 * Properties
 * Contract Programming for Structs and Classes
 * alias
 * alias this
 * Pointers
I like how you introduce the new syntax for 'alias' and 'alias this'. I'm not sure these are well known yet, so well done! I should make a pass in my own code base to change that. I did not read the part on properties, since I'm pretty sure you'll have to write it anew ;)
Feb 01 2013
next sibling parent =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 02/01/2013 03:55 AM, Philippe Sigaud wrote:

 I like how you introduce the new syntax for 'alias' and 'alias this'.
That change came just in time. :)
 I did not read the part on properties, since I'm pretty sure you'll
 have to write it anew ;)
No problem. I have rewritten and corrected many parts of the book already. Online books are great. :) Ali
Feb 01 2013
prev sibling parent reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 02/01/2013 03:55 AM, Philippe Sigaud wrote:

 I like how you introduce the new syntax for 'alias' and 'alias this'.
I just learned that 'alias this' has been converted to the old syntax in 2.062. I can't find any obvious indicator in the changelog. Ali
Feb 22 2013
parent reply Philippe Sigaud <philippe.sigaud gmail.com> writes:
On Fri, Feb 22, 2013 at 6:15 PM, Ali =C3=87ehreli <acehreli yahoo.com> wrot=
e:
 On 02/01/2013 03:55 AM, Philippe Sigaud wrote:

 I like how you introduce the new syntax for 'alias' and 'alias this'.
I just learned that 'alias this' has been converted to the old syntax in 2.062. I can't find any obvious indicator in the changelog.
*sigh* Wasn't it only 'alias this =3D symb;' that got ditched?
Feb 22 2013
parent reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 02/22/2013 11:29 AM, Philippe Sigaud wrote:
 On Fri, Feb 22, 2013 at 6:15 PM, Ali Çehreli<acehreli yahoo.com>  wrote:
 On 02/01/2013 03:55 AM, Philippe Sigaud wrote:

 I like how you introduce the new syntax for 'alias' and 'alias this'.
I just learned that 'alias this' has been converted to the old syntax in 2.062. I can't find any obvious indicator in the changelog.
*sigh* Wasn't it only 'alias this = symb;' that got ditched?
That's correct. Ali
Feb 22 2013
parent reply "Maxim Fomin" <maxim maxim-fomin.ru> writes:
On Friday, 22 February 2013 at 20:00:58 UTC, Ali Çehreli wrote:
 On 02/22/2013 11:29 AM, Philippe Sigaud wrote:
 On Fri, Feb 22, 2013 at 6:15 PM, Ali 
 Çehreli<acehreli yahoo.com>  wrote:
 On 02/01/2013 03:55 AM, Philippe Sigaud wrote:

 I like how you introduce the new syntax for 'alias' and 
 'alias this'.
I just learned that 'alias this' has been converted to the old syntax in 2.062. I can't find any obvious indicator in the changelog.
*sigh* Wasn't it only 'alias this = symb;' that got ditched?
That's correct. Ali
After recent messages I realize that original depreciation discussion on github was really far away from community which is sign of proper announcement procedure failure. By the way, this also indicates that situation with D changelog is not satisfactory either.
Feb 22 2013
parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 2/22/13, Maxim Fomin <maxim maxim-fomin.ru> wrote:
 By the way, this
 also indicates that situation with D changelog is not
 satisfactory either.
Yes, hopefully we can improve this. As a start I made this pull which lists language changes at the top: https://github.com/D-Programming-Language/d-programming-language.org/pull/284
Feb 22 2013
prev sibling next sibling parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 2/1/13, Ali =C7ehreli <acehreli yahoo.com> wrote:
 I have continued with the translation of the book.
Very cool! Btw, a section from the book: // Do not use the older syntax: alias existing_name new_name; I don't think this syntax will ever be deprecated (it would break a metric ton of code), so there's nothing wrong with using it.
Feb 01 2013
parent reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 02/01/2013 11:12 AM, Andrej Mitrovic wrote:
 On 2/1/13, Ali Çehreli<acehreli yahoo.com>  wrote:
 I have continued with the translation of the book.
Very cool! Btw, a section from the book: // Do not use the older syntax: alias existing_name new_name; I don't think this syntax will ever be deprecated (it would break a metric ton of code), so there's nothing wrong with using it.
You are right. What I meant is more like "there is no need to continue using this awkward syntax anymore." I will change it later to something milder. :) Ali
Feb 01 2013
parent reply "Rob T" <alanb ucora.com> writes:
On Friday, 1 February 2013 at 19:27:11 UTC, Ali Çehreli wrote:
 On 02/01/2013 11:12 AM, Andrej Mitrovic wrote:
 On 2/1/13, Ali Çehreli<acehreli yahoo.com>  wrote:
 I have continued with the translation of the book.
Very cool! Btw, a section from the book: // Do not use the older syntax: alias existing_name new_name; I don't think this syntax will ever be deprecated (it would
break a
 metric ton of code), so there's nothing wrong with using it.
You are right. What I meant is more like "there is no need to continue using this awkward syntax anymore." I will change it later to something milder. :) Ali
Maybe something like "use of old syntax is discouraged". I have used your on-line book many times, so thanks for the effort! It is very nice to have an up-to-date version. --rt
Feb 01 2013
parent reply FG <home fgda.pl> writes:
On 2013-02-01 23:12, Rob T wrote:
 // Do not use the older syntax:
 alias existing_name new_name;
[...]
Maybe something like "use of old syntax is discouraged".
Don't you think it's way too early to say that? DMD 2.061 with alias assignment syntax has only been out for a month, and that's just DMD!
Feb 01 2013
parent =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 02/01/2013 03:08 PM, FG wrote:
 On 2013-02-01 23:12, Rob T wrote:
 // Do not use the older syntax:
 alias existing_name new_name;
[...]
Maybe something like "use of old syntax is discouraged".
Don't you think it's way too early to say that? DMD 2.061 with alias assignment syntax has only been out for a month, and that's just DMD!
You are right but I had to pick a compiler and stick to it. It would be too much work to use the common subset of the supported features. My conscience is clear because at least I say this much in 'The Hello World Program' chapter: :) "dmd has been the reference compiler for the D programming language during the design and development of the language over the years. All of the examples in this book have been tested with dmd. For that reason, it would be the easiest for you to start with dmd and try other compilers only if you have a specific need to." I then imply that the most recent dmd is used at least for some of the chapters: "To install the latest version of dmd, go to ..." Ali
Feb 01 2013
prev sibling parent Dejan Lekic <dejan.lekic gmail.com> writes:
Ali Çehreli wrote:

 I have continued with the translation of the book. At this point there
 are 551 pages in English of total 711 pages in Turkish.
 
 In addition to many corrections and additions throughout the book, there
 are the following chapters translated:
 
 * Universal Function Call Syntax (UFCS)
 * Properties
 * Contract Programming for Structs and Classes
 * alias
 * alias this
 * Pointers
 
 As a reminder, the book is available as PDF, downloadable from the
 header of each chapter:
 
    http://ddili.org/ders/d.en/index.html
 
 No Kindle or Lulu versions yet.
 
 Ali
Excellent work Ali - I am sure the D community appreciates greatly your work on this book! -- Dejan Lekic dejan.lekic (a) gmail.com http://dejan.lekic.org
Feb 03 2013