try/catch idiom in std.datetime

Jacob Carlborg doob at me.com
Tue Nov 19 23:38:13 PST 2013


On 2013-11-20 02:26, growler wrote:

> Man, I thought these debates died out long ago. All that matters in
> style is readability and consistency.
>
> Looking at that code linked above::
>
> 1. Is the code formatting consistent? Yes
> 2. Is the code formatting consistent within the repo? Yes
> 3. Is the code formatting easily read by a programmer? Yes
>
> Whether you, I, or anyone else like with the style is irrelevant.
> Personally I'm not a fan, but that doesn't make the author a bad
> programmer, nor does it make me right. It simply means:
>
> a) Jacob and I prefer different formatting styles and
> b) I need to adapt if I'm to work on dstep.
>
> Now if dstep was written at Facebook then OK, the code would need
> reformatting because it violates point 2. above.
>
> As for Phobos code, insist on tighter style guidelines. No one will care
> as long as it is consistent and readable. Any programmer worth anything
> will just adhere to it happily. Those that don't want to are not going
> to have much to contribute, they're more worried about their personal
> style than advancing Phobos and D with great code.
>
> Cheers.

Thank you.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list