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

Peter Sommerfeld noreply at rubrica.at
Mon Jan 21 07:49:07 PST 2013


Am 21.01.2013, 15:42 Uhr, schrieb Chris <wendlec at tcd.ie>:
> 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?

The discussion about using indentation as block delemeter is a holly
war about personal preferences IMHO.

There is a strong argument against enforced indentation: Automatic
code generation is hard or even impossible in languages like Python.
I don't think it makes any sense in languages with generics.

Much more important is an  orthogonal and consistent syntax...

Peter


More information about the Digitalmars-d-announce mailing list