List of Phobos functions that allocate memory?
Dicebot
public at dicebot.lv
Thu Feb 6 14:19:40 PST 2014
On Thursday, 6 February 2014 at 22:15:11 UTC, Brad Anderson wrote:
> Personally I don't think bad user input qualifies as an
> exceptional case because it's expected to happen and the
> program is expected to handle it (and let the user know) when
> it does. That's just a matter of taste though.
I agree. It kills the whole concept of "exceptions are rare so
they don't need to be fast when thrown". But it is how quite lot
of Phobos is currently designed and, in my opinion, is biggest
design mistake of vibe.d too (it uses exceptions to propagate
HTTP status codes)
More information about the Digitalmars-d
mailing list