Exceptional coding style
mist
none at none.none
Tue Jan 15 02:47:18 PST 2013
On Monday, 14 January 2013 at 23:48:14 UTC, bearophile wrote:
>> And extra vertical spaces are like semantic formatting tools
>> for plain text - can group related blocks perfectly and speed
>> up reading.
>
> The idea of not wasting lines doesn't go against the idea of
> adding blank lines to create code paragraphs. When you are
> adding a line to divide chunks, you are not wasting vertical
> space, it's a well used line :-)
>
> Bye,
> bearophile
Well, I would not rant about this if not his actual example in
"Spacing" block. This very example of "bad" code has every empty
line added right where it fits. And "good" one is a mess that
hurts my eyes when I try to concentrate on some distinct parts.
More information about the Digitalmars-d
mailing list