Boost logo

Boost :

Subject: Re: [boost] [outcome] expected vs. result
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-05-25 14:34:06


> It would be very helpful to have a documentation for comparing all types,
> expected, option, outcome, and result, showing the use cases and best
> practices. I have some hard time to understand what one can do and the
> other can not and in which cases I should prefer one.

One thing very obvious in this review so far is how overwraught it has
made that choice seem.

I think as soon as you start writing some code using Outcome, you'll
find the choice flows naturally. Using this library in your code is far,
far, far easier and more intuitive than this review makes it seem. They
are very simple objects, and very easy to use. Often the simpler the
object, the more bikeshedding and strong opinions and noise result.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

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