Re: A look at the D programming language by Ferdynand Górski

2013-01-21 Thread deadalnix
On Tuesday, 15 January 2013 at 12:09:21 UTC, bearophile wrote: 1100110: Thats so funny I forgot to laugh. One common indentation-related bug is caused by relying on the indentation to understand code, while the curly brace language compiler ignores what you were seeing and only sees the bra

Re: Mono-D v0.4.9 - Rough formatting capability

2013-01-21 Thread alex
On Monday, 21 January 2013 at 21:32:38 UTC, F i L wrote: Thanks Alex, even though I don't use auto-formatting (I never did like that). I use it rarely either - but some others asked whether I could do this - and now there it is :)

Re: Mono-D v0.4.9 - Rough formatting capability

2013-01-21 Thread F i L
Thanks Alex, even though I don't use auto-formatting (I never did like that).

Mono-D v0.4.9 - Rough formatting capability

2013-01-21 Thread alex
Hi everyone, No, the entire formatting engine is NOT finished yet. :P Anyway I've created a good compromise solution between releasing stuff early and having a fairly nice formatting result: I just let the indenting engine calculate the indents of all lines of the code - and fix all the incorrec

Re: A look at the D programming language by Ferdynand Górski

2013-01-21 Thread Peter Sommerfeld
Am 21.01.2013, 15:42 Uhr, schrieb Chris : As has been said many times before, it should not be the language's job to enforce indentation. This should be handled by customizable code editors. Any programmer in his/her right mind will use indentation. So why enforce it through syntax rules?

Re: A look at the D programming language by Ferdynand Górski

2013-01-21 Thread Chris
On Wednesday, 16 January 2013 at 15:55:09 UTC, renoX wrote: On Tuesday, 15 January 2013 at 13:43:12 UTC, Chris wrote: On Tuesday, 15 January 2013 at 12:36:42 UTC, bearophile wrote: Chris: Nested for loops with if-statements can be hard on the eye in Python, because you have to go back an doub