Boost logo

Boost :

Subject: Re: [boost] [program_options] Some methods take const char*, others take std::string
From: Nevin Liber (nevin_at_[hidden])
Date: 2011-08-15 16:22:11


On 15 August 2011 14:33, Gabriel Redner <gredner_at_[hidden]> wrote:

>
> Your compromise is missing one factor - simplicity. This is a simple
> API which does a simple job. Decorating it with generic tools will
> make it harder to understand and to maintain, in exchange for some
> small benefit in uncommon use cases.
>

When the library is taken is isolation, that is true. When taken are part
of a greater whole (Boost), it makes it harder, as it is now has an
interface that is inconsistent with other libraries. Having to keep track
of which libraries support which "similar but not quite the same" interface
does not make things simpler.

> In any case, it's Vladimir's library, so he has the last word on this.
>

Of course.

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404

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