indent style for D

Artur Skawina art.08.09 at gmail.com
Sun Jan 29 15:53:40 PST 2012


On 01/30/12 00:03, Iain Buclaw wrote:
> On 29 January 2012 14:17, bearophile <bearophileHUGS at lycos.com> wrote:
>> Denis Shelomovskij:
>>
>>> Am I mistaken? If no, am I missing some major spaces advantages? If no,
>>> lets use tabs.
>>
>> D2 style guide should *require* D2 to be edited using a mono-spaced font, and the D2 front-end should enforce this with a "-ms" compiler switch.
>>
>> Bye,
>> bearophile
> 
> 
> I think D should go even further than that and drop those horrid curly
> braces, handling all code blocks by indentation.

http://delight.sourceforge.net/

I was going to suggest making the compiler enforce using black-on-white, instead of
white-on-black, for all D soure code, but was afraid somebody would still not get it... :)


artur


More information about the Digitalmars-d mailing list