Python-like tabs instead of curley brackets?
Jeff
jeffrparsons at optusnet.com.au
Fri Dec 1 03:04:47 PST 2006
Kyle Furlong wrote:
> Tomas Lindquist Olsen wrote:
>> Mark Wrenn wrote:
>>>
>>> I must be old :) I have to say that I like the C style brackets. I'll
>>> catch you guys later at the old programmers home :)
>>>
>>> Mark
>>
>> I'm not old and I like the brackets too
>
> Likewise
Ditto. I'm by no means old yet I'm a fan of braces. I'll admit that
BSD/Allman style annoys me (it wastes a bit -too- much space for my
liking) but following K&R in general results in fairly neat, legible
code without too much waste.
Sure, there's even less space "wasted" if you remove braces altogether,
but it's not true to say that there is no longer any justification for
them: tabs vs. spaces problems still plague some such languages (though
this is generally a minor concern) and removing braces kills
flexibility! I couldn't count the times I've needed to break convention
to lay some special code out in a more sensible way.
More information about the Digitalmars-d
mailing list