try/catch idiom in std.datetime

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Nov 18 14:33:58 PST 2013


On 11/18/13 12:53 PM, Jacob Carlborg wrote:
> On 2013-11-18 16:56, Andrei Alexandrescu wrote:
>
>> But three newlines for four lines? That's not paragraphs, it's a grocery
>> list.
>
> As Jonathan said, this example is quite bad in the empty lines vs code
> lines ratio.
>
> But I general I do put an empty newline before and after each statement.

So that would be two empty lines between statements :o). Anyhow, 
assuming you only meant one, that would be excessive if done for _all_ 
statements (i.e. everything ending with a semicolon). It would make code 
look like a doc printed by someone who didn't know how to turn double 
spacing off.


Andrei



More information about the Digitalmars-d mailing list