indent style for D

Iain Buclaw ibuclaw at ubuntu.com
Sun Jan 29 15:03:54 PST 2012


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.


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list