Boost logo

Boost :

Subject: Re: [boost] [filesystem] Decomposition of filenames beginning with period?
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2011-04-07 13:27:31


On Thu, Apr 7, 2011 at 08:14, Beman Dawes <bdawes_at_[hidden]> wrote:
>
> Does anyone have a stronger argument than intuition for changing or
> retaining the current behavior?
>

I like the existing way, actually. It fits with two nice ways of
looking at things:

- A *nix hidden file is one with no name, after removing all extensions.

- A file like .gitignore is a file of type "gitignore" that nobody
bothered to name. Conceptually, it would make sense to have multiple
*.gitignore files, and the one without a stem is just the default
name. (And that would allow putting, say, all the auto-generated ones
in one file, and a manually-maintained list in another.)

~ Scott


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