Python-like tabs instead of curley brackets?

David Medlock noone at nowhere.com
Fri Oct 27 07:47:08 PDT 2006


Charles Fox wrote:

> 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?

This would destroy anonymous delegates, one of the best new features of D.

If this concerns you a lot, write a converter to read your source and 
add the brackets!

-DavidM



More information about the Digitalmars-d mailing list