[GSOC] regular expressions beta is here
Dmitry Olshansky
dmitry.olsh at gmail.com
Wed Aug 10 11:21:25 PDT 2011
On 10.08.2011 22:11, Vladimir Panteleev wrote:
> On Wed, 10 Aug 2011 20:59:27 +0300, Dmitry Olshansky
> <dmitry.olsh at gmail.com> wrote:
>
>>>> About spaces personally I dislike eating extra vertical space for
>>>> "clarity", curly braces on it's own line is already way too much.
>>> Think about reading a book without the half lines between
>>> paragraphs. In code it's the same. Some empty lines are good to
>>> improve readability of the code. Curly braces are not always
>>> present, sometimes a paragraphs ends before or after or right on a
>>> curly brace.
>>
>> Braces *are* paragraphs of code, with proper indention it's more then
>> enough to fell the structure. If I really need to stop in the middle
>> function, it's to explain something, then a single line of comment
>> instead of meaningless empty line (which leaves reader clueless as to
>> why) is good enough. Except that I'm not opposed to spaces at global
>> scope.
>
> I agree with bearophile; I find code that leaves a blank line between
> closely-related lines make the code much more readable. I don't
> understand what's with the craving for maximum vertical terseness
> either, but that may be because the resolution of my primary monitor
> is currently 1200x1920 :)
>
Lucky you, hm... probably turning my monitor on 90 degrees can get me in
this league of abundant vertical space :)
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list