try/catch idiom in std.datetime

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Nov 20 08:14:02 PST 2013


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. Another dimension is there are also styles that are 
more or less frequent.

Andrei



More information about the Digitalmars-d mailing list