On 10/5/2014 10:09 AM, Dicebot wrote:
On Sunday, 5 October 2014 at 17:03:07 UTC, Andrei Alexandrescu wrote:
On 10/5/14, 9:42 AM, Dicebot wrote:
On Sunday, 5 October 2014 at 16:30:47 UTC, Ola Fosheim Grøstad wrote:
Does D have exception chaining?

Yes. http://dlang.org/phobos/object.html#.Throwable.next
Though it seems to do more harm then good so far.

What harm does it do? -- Andrei

Good chunk of issues with pre-allocated exceptions (and possible cycles in
reference counted ones) comes from the chanining possibility. At the same time I
have yet to see it actively used as a feature.

Doesn't mean it is bad thing, just not used wide enough to compensate for
trouble right now.

FWIW, I'm skeptical as well of the value of chaining relative to its cost in complexity.

Reply via email to