Re: [boost] Re: boost::fs?

2003-08-14 Thread Beman Dawes
At 03:20 PM 8/6/2003, David Abrahams wrote:

>> A namespace alias of fs:: is used in an example on one of the doc
>> pages, and in some of the test and implementation code. Is that a
>> concern?
>
>Yes!  People will be very confused, IMO.  I clearly was.
Hum... It really makes the tutorial hard to read if all the fs::'s are 
replaced with boost::filesystem::. How would you feel about the tutorial 
giving a

   using boost::filesystem;

and then eliminating the qualification entirely? I was trying to avoid 
that, as it isn't the best programming practice, but people are used to 
simplification in tutorials so maybe it is OK.

I had thought the use of a namespace alias was the better solution.

>Ah, I haven't compiled anything yet. ;->

Oh:-! Well, that would clear up any confusion pretty quickly.

--Beman

___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


[boost] Re: boost::fs?

2003-08-07 Thread David Abrahams
Beman Dawes <[EMAIL PROTECTED]> writes:

> At 03:59 PM 8/5/2003, David Abrahams wrote:
>  >
>  >Why are we using such a cryptic namespace name?  I mean, I can
>  >understand wanting to abbreviate "template_metaprogramming", but
>  >"filesystem" doesn't seem too bad and you could use "filesys"; people
>  >will use namespace aliases anyway.
>
> The Filesystem Library is in namespace boost::filesystem.
>
> A namespace alias of fs:: is used in an example on one of the doc
> pages, and in some of the test and implementation code. Is that a
> concern?

Yes!  People will be very confused, IMO.  I clearly was.

>  >  Sorry to complain, but "fs" has
>  >been rubbing me the wrong way since I started using it.
>
> Why are you using it then? I just double checked, and it doesn't
> appear in any of the filesystem headers.

Ah, I haven't compiled anything yet. ;->

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost