www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Cool D tricks resources?

reply Pie? <AmericanPie gmail.com> writes:
Has anyone gathered up all the cool tricks one can do in D?

There are a ton of things D can do differently that are optimal 
in some cases but I never remember them.  A sort of cook book of 
D tricks for different applications would be nice....
Jun 03 2016
next sibling parent reply Mike Parker <aldacron gmail.com> writes:
On Saturday, 4 June 2016 at 00:55:33 UTC, Pie? wrote:
 Has anyone gathered up all the cool tricks one can do in D?

 There are a ton of things D can do differently that are optimal 
 in some cases but I never remember them.  A sort of cook book 
 of D tricks for different applications would be nice....
Take a look at http://p0nce.github.io/d-idioms/.
Jun 03 2016
parent reply Seb <seb wilzba.ch> writes:
On Saturday, 4 June 2016 at 01:27:46 UTC, Mike Parker wrote:
 On Saturday, 4 June 2016 at 00:55:33 UTC, Pie? wrote:
 Has anyone gathered up all the cool tricks one can do in D?

 There are a ton of things D can do differently that are 
 optimal in some cases but I never remember them.  A sort of 
 cook book of D tricks for different applications would be 
 nice....
Take a look at http://p0nce.github.io/d-idioms/.
and the gems from our DLang Tour - tour.dlang.io Audience: We are still actively looking for people who want to add a "Gem" to the tour. So if you have a favorite feature in D that you miss there, ping us!
Jun 03 2016
parent reply bob belcher <claudiu.garba gmail.com> writes:
On Saturday, 4 June 2016 at 03:05:59 UTC, Seb wrote:
 On Saturday, 4 June 2016 at 01:27:46 UTC, Mike Parker wrote:
 On Saturday, 4 June 2016 at 00:55:33 UTC, Pie? wrote:
 Has anyone gathered up all the cool tricks one can do in D?

 There are a ton of things D can do differently that are 
 optimal in some cases but I never remember them.  A sort of 
 cook book of D tricks for different applications would be 
 nice....
Take a look at http://p0nce.github.io/d-idioms/.
and the gems from our DLang Tour - tour.dlang.io Audience: We are still actively looking for people who want to add a "Gem" to the tour. So if you have a favorite feature in D that you miss there, ping us!
why not using gitbook and a domain like dlangbyexample.com (mine. :)) that I would lovely donate it to foundation. example: http://rustbyexample.com/
Jun 04 2016
parent Seb <seb wilzba.ch> writes:
On Saturday, 4 June 2016 at 10:02:44 UTC, bob belcher wrote:
 On Saturday, 4 June 2016 at 03:05:59 UTC, Seb wrote:
 On Saturday, 4 June 2016 at 01:27:46 UTC, Mike Parker wrote:
 On Saturday, 4 June 2016 at 00:55:33 UTC, Pie? wrote:
 Has anyone gathered up all the cool tricks one can do in D?

 There are a ton of things D can do differently that are 
 optimal in some cases but I never remember them.  A sort of 
 cook book of D tricks for different applications would be 
 nice....
Take a look at http://p0nce.github.io/d-idioms/.
and the gems from our DLang Tour - tour.dlang.io Audience: We are still actively looking for people who want to add a "Gem" to the tour. So if you have a favorite feature in D that you miss there, ping us!
why not using gitbook and a domain like dlangbyexample.com (mine. :)) that I would lovely donate it to foundation. example: http://rustbyexample.com/
We could do that too! For the Dlang Tour (which is written entirely in D) being independent (GitBook is a company) and able to customize it, is important. For more infos and discussion, I created an issue: https://github.com/stonemaster/dlang-tour/issues/209
Jun 04 2016
prev sibling parent Adam D. Ruppe <destructionator gmail.com> writes:
On Saturday, 4 June 2016 at 00:55:33 UTC, Pie? wrote:
  A sort of cook book of D tricks for different applications 
 would be nice....
https://www.packtpub.com/application-development/d-cookbook lol
Jun 03 2016