try/catch idiom in std.datetime

Ary Borenszweig ary at esperanto.org.ar
Wed Nov 20 09:43:08 PST 2013


On 11/20/13 1:14 PM, Andrei Alexandrescu wrote:
> On 11/20/13 5:00 AM, Dicebot wrote:
>> On Wednesday, 20 November 2013 at 01:26:35 UTC, growler wrote:
>>> ...
>>>
>>> Cheers.
>>
>> Very true. I sometimes switch between 3 to 4 different code styles
>> within a single day when actively working on some D projects (internal
>> one at work, Phobos style, vibe.d guidelines + one preferred style for
>> random chosen project of the day). Pretty much only issue it causes is
>> necessity to switch vim tab/space profiles ;) I fully expect any
>> reasonable programmer to be able to conform any target code style just
>> by a random call.
>>
>> There are no really good or bad styles, only consistent and inconsistent
>> ones.
>
> Oh there are consistent styles that are worse than other consistent
> styles of course.

Of course: the ones you don't like.




More information about the Digitalmars-d mailing list