List of Phobos functions that allocate memory?

Walter Bright newshound2 at digitalmars.com
Thu Feb 6 18:42:17 PST 2014


On 2/6/2014 5:31 PM, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> 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.

They're going to be slow when you do it that way.


More information about the Digitalmars-d mailing list