|
Boost : |
Subject: Re: [boost] [system] Would it be possible to trial a breaking change to Boost.System and see what happens?
From: Robert Ramey (ramey_at_[hidden])
Date: 2018-01-20 16:34:25
On 1/20/18 3:10 AM, Paul A. Bristow via Boost wrote:
>
>
>> -----Original Message-----
>> Nobody wants to write
>>
>> if(ec == my_condition::success)
>>
>> When then can instead write
>>
>> if(! ec)
>
> But who wants to *read*
>
> if(! ec)
>
> when it is 'ambuguous'? (and the ! can easily be missed at a glance.)
>
> Boost prefers clarity to curtness.
>
> if(! ec) is a bad habit - just stop it! Now!
>
> Paul
>
> PS but don't mess with existing code that works OK.
>
+1 - good compromise
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk