|
Boost : |
Subject: Re: [boost] Library for configuration file parsing
From: Denis Shevchenko (for.dshevchenko_at_[hidden])
Date: 2010-12-04 00:20:14
On 04.12.2010 05:34, Michael Caisse wrote:
> I'm surprised (shocked) at the number of people who initially respond
> with this point-of-view.
>
> michael
Hello Michael!
This point of view is honest. Most probably, I am acquainted with Spirit
better (and probably in the near future, and maybe I'll rewrite my code
with Spirit), but NOW my library is written without Spirit...
And then... IMHO, every library (as programmer's tool) is characterized
by three "fundamental features":
1. Itscapabilities (that is, what library CAN do)
2. Its interface (that is, how EASY it's to use its capabilitiesin
user's code)
3. Its realization (that is, HOW it's works inside)
Programmer (as user of library)PRIMARILY concerned about 1 and 2, but
not about 3. This does not mean that the 3 is not important, but
programmer CAN use librarywithout knowing anything about how it is works
inside.
In other words, whether it will be written with Spirit, or with Regex,
or with std::algorithm, or in any other way - this is (IMHO)important
from a technical point of view, but not from a practical. For example, I
constantly use Boost libraries in my work, but I don't know
realization's details of many of them.
Do you agree with me, Michael?
- Denis
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk