Re: Learning D - first steps and best practices

2013-10-18 Thread Gary Willoughby
On Sunday, 29 September 2013 at 07:13:26 UTC, Stefan Larsson wrote: Hello, I have started my journey to learn D after using C/C++ and Python for many years. I am studying the book "The D-Programming Language" by Andrei Alexandrescu and I have tried to search the D-newsgroups for proper advice

Re: Learning D - first steps and best practices

2013-10-17 Thread Stefan Larsson
On 2013-10-01 19:32:05 +, qznc said: On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis wrote: I confess that I don't understand why so many people are fixated on having a standard style, particularly when it's very, very clear that most everyone disagrees on what counts as good

Re: Learning D - first steps and best practices

2013-10-02 Thread John Colvin
On Wednesday, 2 October 2013 at 01:19:21 UTC, Jesse Phillips wrote: For me, if the program didn't format brackets on the same line I wouldn't use it. I'm guessing you don't use druntime or phobos then :p

Re: Learning D - first steps and best practices

2013-10-02 Thread Jonathan M Davis
On Wednesday, October 02, 2013 10:38:10 qznc wrote: > On Wednesday, 2 October 2013 at 03:28:59 UTC, Jonathan M Davis > > wrote: > > On Wednesday, October 02, 2013 03:19:19 Jesse Phillips wrote: > >> For me, if the program didn't format brackets on the same line > >> I > >> wouldn't use it. If you

Re: Learning D - first steps and best practices

2013-10-02 Thread qznc
On Wednesday, 2 October 2013 at 03:28:59 UTC, Jonathan M Davis wrote: On Wednesday, October 02, 2013 03:19:19 Jesse Phillips wrote: For me, if the program didn't format brackets on the same line I wouldn't use it. If you start making things configurable, may as well improve indent's support fo

Re: Learning D - first steps and best practices

2013-10-01 Thread Jonathan M Davis
On Tuesday, October 01, 2013 21:32:05 qznc wrote: > On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis > > wrote: > > I confess that I don't understand why so many people are > > fixated on having a > > standard style, particularly when it's very, very clear that > > most everyone > >

Re: Learning D - first steps and best practices

2013-10-01 Thread Jonathan M Davis
On Wednesday, October 02, 2013 03:19:19 Jesse Phillips wrote: > On Tuesday, 1 October 2013 at 19:32:08 UTC, qznc wrote: > > On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis > > > > wrote: > >> I confess that I don't understand why so many people are > >> fixated on having a > >> stan

Re: Learning D - first steps and best practices

2013-10-01 Thread Jesse Phillips
On Tuesday, 1 October 2013 at 19:32:08 UTC, qznc wrote: On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis wrote: I confess that I don't understand why so many people are fixated on having a standard style, particularly when it's very, very clear that most everyone disagrees on what

Re: Learning D - first steps and best practices

2013-10-01 Thread qznc
On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis wrote: I confess that I don't understand why so many people are fixated on having a standard style, particularly when it's very, very clear that most everyone disagrees on what counts as good style. What little we have in terms of o

Re: Learning D - first steps and best practices

2013-09-30 Thread bearophile
Stefan Larsson: 1. It makes it easier for myself to write code in a consistent style and I would automatically write in a similar style as everybody else. It removes one degree of freedom from my mind. 2. It simplifies education of teams where it is desired that all members write code in the

Re: Learning D - first steps and best practices

2013-09-29 Thread Stefan Larsson
On 2013-09-29 07:49:08 +, Jonathan M Davis said: On Sunday, September 29, 2013 09:13:26 Stefan Larsson wrote: Hello, I have started my journey to learn D after using C/C++ and Python for many years. I am studying the book "The D-Programming Language" by Andrei Alexandrescu and I have tried

Re: Learning D - first steps and best practices

2013-09-29 Thread Michael
http://dlang.org/dstyle.html ))) DUB like other tools have a standard directory layout to accelerate a build process/configuration. DStyle and other guide lines are general recommendations only. If you have better style/case, you can describe and use it.

Re: Learning D - first steps and best practices

2013-09-29 Thread Jonathan M Davis
On Sunday, September 29, 2013 09:13:26 Stefan Larsson wrote: > Hello, > > I have started my journey to learn D after using C/C++ and Python for > many years. I am studying the book "The D-Programming Language" by > Andrei Alexandrescu and I have tried to search the D-newsgroups for > proper advice