Python-like tabs instead of curley brackets?

Fredrik Olsson peylow at gmail.com
Fri Oct 27 06:28:21 PDT 2006


Charles Fox skrev:
> I've been following D for a few years now, and I'd like to suggest ditching
> the (now completely redundant) curley brackets from the C-like syntax and
> borrowing Python's use of tabs to replace them.   I see no reason to keep the
> curley brackets now we have nice editors that know about (and can display) tab
> characters.  The ideal programming language should have no redundancy, you
> shouldn't have to say anything twice, and at present we are still repearting
> ourselves with both curley brackets and indentation!  What do you think?

Absolutely not!

Keep the brackets. Even making them mandatory for single statement if, 
is a better idea then removing them.


// Fredrik Olsson



More information about the Digitalmars-d mailing list