20 Jan
2018
20 Jan
'18
4:34 p.m.
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