Re: The case insensitive #include statement horror...
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Fri, 1 Dec 2006 10:38:03 -0500
"Stephan Kuhagen" <nospam@xxxxxxxxxx> wrote in message
news:ekokg4$72j$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I guess I still don't understand.
It preserves the data, because it preserves the case of the filenames
Yes.
in my thinking the filenames are also data, since for me
they contain some semantics in the spelling.
OK. That's your point of view. What follows from it is the fact, say, that
given a string of eight characters there are 256 possible files which can
live in one directory, using those characters in the given order, which
differ only in case. As I see it, that's just nuts. :-)
Now there may be corner cases where changing the case conveys a different
meaning - polish and Polish for example - but to me, that's the exception
that proves the rule. And if the problem arrives from not being able to
differentiating consecutive "words" which begin with a capital letter, we
have a way to deal with that - use a space character or an undersore in the
file name.
The point I have been trying to make here is that you are applying a 'nix
mindset to Windows.
But it makes it easy to lose this data, since someone can
easily overwrite this semantics accidently by writing another
file with a similar name, differing only in case.
No, we won't allow two different files with names that differ only in case
to be created in the same directory and with the Win32 API.
Regards,
Will
.
- Follow-Ups:
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- References:
- Re: The case insensitive #include statement horror...
- From: Tom Serface
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- From: Tom Serface
- Re: The case insensitive #include statement horror...
- From: Carl Daniel [VC++ MVP]
- Re: The case insensitive #include statement horror...
- From: William DePalo [MVP VC++]
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- From: William DePalo [MVP VC++]
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- From: William DePalo [MVP VC++]
- Re: The case insensitive #include statement horror...
- From: Stephan Kuhagen
- Re: The case insensitive #include statement horror...
- Prev by Date: Re: Multi Threading Issue
- Next by Date: Re: A beginner question about C++ (char *)
- Previous by thread: Re: The case insensitive #include statement horror...
- Next by thread: Re: The case insensitive #include statement horror...
- Index(es):
Relevant Pages
|