Boost logo

Boost :

From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-07-04 12:47:11


Stefan Seefeld wrote:

> Vladimir Prus wrote:
>>
>> backup.tar.bz2
>>
>> Here, you might want to look at either "top-level" file type -- ".bz2" here,
>> or at everything after first dot -- ".tar.bz2", depending on what you want
>> to do.
>>
>
> I think it's bad enough that we have inherited this bogus semantics of a
> file 'extension', so let's not add to that.

You suggest that each and every filesystem be modified to carry mime type
with each file? That would be good, but unless that happens, lots of
application will have to look at extension.

> Users can always parse
> filenames with their own application-specific methods, if to them a name
> carries a particular meaning.

As it happens, application-specific methods is very often just looking at
file extension.

- Volodya


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