try/catch idiom in std.datetime

Jonathan M Davis jmdavisProg at gmx.com
Mon Nov 18 12:30:30 PST 2013


On Monday, November 18, 2013 07:56:15 Andrei Alexandrescu wrote:
> On 11/18/13 12:59 AM, Jacob Carlborg wrote:
> > I like the empty newlines as well. Otherwise it feels like reading a
> > text without paragraphs.
> 
> But three newlines for four lines? That's not paragraphs, it's a grocery
> list.

Yeah. It falls apart on some level when there are so few lines. It's just that 
it's also ugly to mush them all together. So, to me at least, it seems like 
it's ugly either way, and in the past, I've just stuck with my normal pattern 
of having the blank lines when that's the case. Now (in part, thanks to your 
complaints about it), I'm more likely to mush the lines together when putting 
the blank lines would result in a bunch of one liners. But I don't really feel 
like there's a good solution when the function is so short.

- Jonathan M Davis


More information about the Digitalmars-d mailing list