Bool setter for std.json
ed
growlercab at gmail.com
Tue Feb 25 01:00:27 PST 2014
On Tuesday, 25 February 2014 at 08:47:50 UTC, w0rp wrote:
> On Tuesday, 25 February 2014 at 08:07:28 UTC, Stephan wrote:
>> Actually that is exactly what I like about it! Performance of
>> exceptions in D is very bad and right now I am trying to
>> reduce using them wherever I can.
>
> The alternative is the "everything went better than expected"
> approach. I'd prefer to let programs break and performance
> suffer when something is wrong with them.
I agree with this and have hacked onto vibed json to throw
exceptions unless a custom a custom version(JsnoNoThrow) is
provided.
Cheers,
ed
More information about the Digitalmars-d
mailing list