So, we agree that Format::iszippedfile should be in filename. Especially
when the filenames are cached.
Op 19 sep. 2011 21:25 schreef "Julien Rioux" <jri...@physics.utoronto.ca>
het volgende:
> On 19/09/2011 9:22 PM, Vincent van Ravesteijn wrote:
>> Op 19-9-2011 20:59, Julien Rioux schreef:
>>> On 19/09/2011 8:41 PM, Vincent van Ravesteijn wrote:
>>>> Anyway, this all is a bit academic because I would prefer to see this
in
>>>> FileName.
>>>
>>> The situation arises that we need these checks (pseudocode):
>>>
>>> if (filename.isZippedFile && !format.isZippedFormat)
>>> then (we need to unzip the file)
>>>
>>> Moving everything to Format or to FileName, in a sense, is equally
>>> academically wrong.
>>>
>>
>> isZippedFormat says something about the format, so it can be in Format.
>> Format::isZippedFile says something about a file, so it should be in
>> FileName.
>>
>> Vincent
>>
>
> What I meant, precisely.
>
> --
> Julien
>

Reply via email to