Re: The case insensitive #include statement horror...



"Stephan Kuhagen" <nospam@xxxxxxxxxx> wrote in message
news:ekn6iv$pgg$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
What I want is not Windows to behave like Unix alikes, instead I want the
programmers follows the programming style guide rules. If you develop
cross
platform, you come much faster to a stable state of the source, if
programmers do think about what they write carefully. "Works for me" is
not
a good argument for good code - okay following a style guide isn't
neither,
if the SG isn't good. But ours is, I think.

OK, that's completely different and reasonable. It's just not reasonable to
expect the platform or the toolset to help you here. It is after all the
difference between the platforms that makes portability an issue.

I don't believe that, but it would be interesting to know the real reason.

Yes, it would.

I suspect, that it has something to do with data consistency. Ignoring
case
in filenames leads to unnoticed change of data, which is one thing, most
users and system operators won't like very much.

How is that? Win32's file system is the counter example, no?

As far as I can remember,
old Unix filesystems worked such, that directories were files itself.
These
special (but normal text-)files just contained the names of the files,
which were in that directory. You were able to edit this file by hand to
move file around or rename them. Since text in a text file definitely must
be case sensitive (I think, we can agree on that?), the filenames in old
Unix filesystems must also be case sensitive. I don't know, if that is the
whole story, but I think, it explains pretty much.

If that's so, 'nix is even clunkier and more antiquated than I thought.

FWIW: this is interesting reading:

http://xahlee.org/UnixResource_dir/_/fileCaseSens.html

Regards,
Will


.



Relevant Pages

  • Re: A call for 1 million programmers
    ... to be intelligent, what it takes to make a computer act like a human, ... consciousness is, whether computers or other machines can be conscious, ... You can't build a good platform for anything with a few programmers, ...
    (comp.lang.java.programmer)
  • Re: Should we broaden the topicality of this group?
    ... I write virtually all of my work programs in pure ISO C. ... programmers who know what pure ISO C is who use it... ... a detailed answer to a completely platform specific question which would ...
    (comp.lang.c)
  • Re: A C Adventure: your comments are welcome
    ... Most programmers write for Windows. ... language and what parts are specific to the implementation. ... write to it is an error, regardless of platform. ...
    (comp.lang.c)
  • Re: Generating Gaussian distributed random variable using C++
    ... programmers want their programs to be both safe and as fast as possible. ... Who know the most details about any particular platform? ... The compiler writers for that platform. ... problem-domain knowledge of the library writers. ...
    (comp.dsp)

Loading