Re: 'static foreach' chapter and more

2018-06-29 Thread Ecstatic Coder via Digitalmars-d-announce

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.


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

NOTE: The copies of the book at hard copy printers are not 
updated yet. If you order from Amazon etc. it will still be the 
OLD version. I need some more time to work on that... Also, 
only the PDF electronic format is up-to-date; other ebook 
formats are NOT.


* The code samples are now up-to-date with 2.080.1

* Digit separator (%,) format specifier: 
http://ddili.org/ders/d.en/formatted_output.html#ix_formatted_output.separator


* Stopwatch is moved to module std.datetime.stopwatch

* Replace 'body' with 'do'

* Text file imports (string imports): 
http://ddili.org/ders/d.en/mixin.html#ix_mixin.file%20import


* First assignment to a member is construction (search for that 
text on the page): 
http://ddili.org/ders/d.en/special_functions.html#ix_special_functions.this,%20constructor


* static foreach: 
http://ddili.org/ders/d.en/static_foreach.html#ix_static_foreach.static%20foreach


Ali


Thanks for also providing this book as a free download.

It's THE perfect book both for people who are learning to program 
for the first time as for experience developers who are just 
learning the D language !


Re: 'static foreach' chapter and more

2018-06-26 Thread walker via Digitalmars-d-announce

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.

[...]


Thank you! One great book which I have read!




Re: 'static foreach' chapter and more

2018-06-26 Thread Ali Çehreli via Digitalmars-d-announce

On 06/26/2018 06:24 AM, ShadoLight wrote:

> RevisionHistory on your ddili.org site?

Ok, I should be able to do that by browsing the book's repo history even 
for past revisions:


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

> as a kind of "Quick-Reference" book to D now

I'm not sure whether it's known by others but I find the online index 
section very useful (yes, I use that site as well ;) ):


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

(The entry for %, is currently missing because there's a bug with adding 
it with a ddoc macro as $(IX %,), which is understandable but I did not 
debug it yet.)


> thanks for a super-useful book!

Thank you! :)

Ali



Re: 'static foreach' chapter and more

2018-06-26 Thread ShadoLight via Digitalmars-d-announce

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.


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





Ali


Hi Ali,

Thanks for your book - it is the definitive go-to resource for D 
newcomers as well as "refresher" reference for part time D 
programmers like myself.


The fact that you keep it up to date (if even only the e-copy 
release), is also a huge plus for us.


But, if I can maybe ask/recommend - is it possible to add a 
RevisionHistory on your ddili.org site?


In fact, your announcement details in this announcement would be 
perfect as the content for this release. So, since you write 
these announcements anyway, hopefully not a lot of work... ;-)


Also, I don't think anyone would expect you do this for every 
revision since the 1st one, even from the current Revision 
onward, but updated for every new revision in the future, would 
already be great.


The reason I am asking is that it is sometimes difficult to know 
if you have updated some part/section/chapter of your book with 
some recent changes to the language/runtime/Phobos.


I think this will be super useful since it is used by myself and 
others as a kind of "Quick-Reference" book to D now. This is not 
as critical for most of the other books (Adam's Cookbook, Kai's 
Web Dev book, etc), since they don't attempt to cover the 
language in full and hence do not have the same "reference" 
aspect your book does. I know Andrei's TDPL book is supposed to 
be the definitive reference (and I do have a copy), but it is now 
quite out-of-date!


But, most of all, thanks for a super-useful book!



Re: 'static foreach' chapter and more

2018-06-26 Thread jmh530 via Digitalmars-d-announce

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.


 [snip]


+1



Re: 'static foreach' chapter and more

2018-06-26 Thread Ali Çehreli via Digitalmars-d-announce

On 06/26/2018 02:18 AM, Ali Çehreli wrote:

this time I *think* the index 
section will be correct. :)


I meant Table of Contents will exist. :)

Ali



Re: 'static foreach' chapter and more

2018-06-26 Thread Ali Çehreli via Digitalmars-d-announce

On 06/26/2018 12:52 AM, Martin Tschierschke wrote:

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.


[...]


Very good, thank you, please trow it to your converter to make a ..pub 
for me of it :-)




I will have time soon to do that and this time I *think* the index 
section will be correct. :)


Ali


Re: 'static foreach' chapter and more

2018-06-26 Thread Martin Tschierschke via Digitalmars-d-announce

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.


[...]


Very good, thank you, please trow it to your converter to make a 
.pub for me of it :-)




Re: 'static foreach' chapter and more

2018-06-26 Thread M.M. via Digitalmars-d-announce

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.


[...]


This is really great that you keep this important source of 
information on D and on programming-in-general up-to-date. Good 
luck with the further adaptations/changes as the D language 
evolves!


Re: 'static foreach' chapter and more

2018-06-25 Thread Bauss via Digitalmars-d-announce

On Tuesday, 26 June 2018 at 01:52:42 UTC, Ali Çehreli wrote:
I've made some online improvements to "Programming in D" since 
September 2017.


[...]


Great work on the book and keeping it up to date!


'static foreach' chapter and more

2018-06-25 Thread Ali Çehreli via Digitalmars-d-announce
I've made some online improvements to "Programming in D" since September 
2017.


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

NOTE: The copies of the book at hard copy printers are not updated yet. 
If you order from Amazon etc. it will still be the OLD version. I need 
some more time to work on that... Also, only the PDF electronic format 
is up-to-date; other ebook formats are NOT.


* The code samples are now up-to-date with 2.080.1

* Digit separator (%,) format specifier: 
http://ddili.org/ders/d.en/formatted_output.html#ix_formatted_output.separator


* Stopwatch is moved to module std.datetime.stopwatch

* Replace 'body' with 'do'

* Text file imports (string imports): 
http://ddili.org/ders/d.en/mixin.html#ix_mixin.file%20import


* First assignment to a member is construction (search for that text on 
the page): 
http://ddili.org/ders/d.en/special_functions.html#ix_special_functions.this,%20constructor


* static foreach: 
http://ddili.org/ders/d.en/static_foreach.html#ix_static_foreach.static%20foreach


Ali