Boost logo

Boost :

Subject: Re: [boost] namespace boost?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2011-01-19 07:07:42


On 19/01/11 11:58, Dean Michael Berris wrote:
> On Wed, Jan 19, 2011 at 7:56 PM, Mateusz Loskot<mateusz_at_[hidden]> wrote:
>> On 19/01/11 05:51, Dean Michael Berris wrote:
>>>
>>> Am I the only one who thinks adding the type of an identifier to the
>>> name is ugly? As in<identifier>_<type> (in this case `tuple_nmsp`
>>> or `tuple_lib`)?
>>
>> There are libraries with 'lib' in name like
>> libpng, libtiff or zlib, so there could be:
>>
>> libspirit
>> libgeometry
>> libfilesystem
>> ...
>>
>
> Right, but you don't have them in the namespace. Mostly I think the
> reason for having 'lib' as a prefix is mostly because of UNIX/Linux
> and GCC intepreting `-lfoo` to mean link in a library named `libfoo`
> for shorthand and for convention. I might see the need for that in a
> filesystem where you have to distinguish names because you don't
> typically have a namespace (although directories are there, which is
> another issue).

Right.

> That doesn't make me like the 'lib' name myself.

Me neither.

> Although cpp-netlib is there, I'm just not that creative to come up
> with an alternate name for it. :D

Take this thread as a warning and learn the lesson, otherwise you will
have your users wining and complaining on the name in a few years ;-)))

Cheers,

-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org

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