List of Phobos functions that allocate memory?

Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com> Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Thu Feb 6 17:31:16 PST 2014


On Friday, 7 February 2014 at 01:23:44 UTC, Walter Bright wrote:
> Right. If you're:
>
> 1. using throws as control flow logic
[...]
> you're doing it wrong.

I disagree.

REST based web services tend to use throws all the time. It is a 
an effective and clean way to break all transactions that are in 
progress throughout the call chain when you cannot carry through 
a request, or if the request returns nothing.


More information about the Digitalmars-d mailing list