Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-05-02 03:35:44


RE: [boost] in/out parameters, codingstylesandmaintenance> From: Joel de Guzman

>> When you see:
>>
>> foo(a, b, c)
>>
>> Are you 100% sure, without looking at the docs or the API, that
>> a, b or c is not modified? The only plausible answer is: that
>> depends,
>> if foo is retrofitted or not. *** That's the problem ***. Anything
>> less
>> than 100% guarantee is false security.

> There is merit in what you say, that if you're going to do this the
> best way to do it is in the language, and I think that's the only
> thing that would get me to use it. OTOH, you're definitely seeing the
> glass as half empty.

Actually, I see the glass as:

    APIs_retrofitted_with_in_out / all_the_APIs_in_the_world

IOTW, virtually empty :-)

-- 
Joel de Guzman
joel at boost-consulting.com
http://www.boost-consulting.com
http://spirit.sf.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk