Re: New Book: The School of Niklaus Wirth

genew@shuswap.net (Gene Wirchenko)
14 Nov 2000 13:12:09 -0500

          From comp.compilers

Related articles
[6 earlier articles]
Re: New Book: The School of Niklaus Wirth gkt37@dial.pipex.com (jt) (2000-11-07)
Re: New Book: The School of Niklaus Wirth vbdis@aol.com (2000-11-09)
Re: New Book: The School of Niklaus Wirth djg@argus.vki.bke.hu (Gabor DEAK JAHN) (2000-11-11)
Re: New Book: The School of Niklaus Wirth joachim_d@gmx.de (Joachim Durchholz) (2000-11-11)
Re: New Book: The School of Niklaus Wirth guerby@acm.org (Laurent Guerby) (2000-11-14)
Re: New Book: The School of Niklaus Wirth vbdis@aol.com (2000-11-14)
Re: New Book: The School of Niklaus Wirth genew@shuswap.net (2000-11-14)
Re: New Book: The School of Niklaus Wirth gdemont@my-deja.com (2000-11-16)
Re: New Book: The School of Niklaus Wirth jerrold.leichter@smarts.com (Jerry Leichter) (2000-11-17)
Re: New Book: The School of Niklaus Wirth fjh@cs.mu.OZ.AU (2000-11-19)
Re: New Book: The School of Niklaus Wirth vbdis@aol.com (2000-11-19)
Re: New Book: The School of Niklaus Wirth jerrold.leichter@smarts.com (Jerry Leichter) (2000-11-21)
Re: New Book: The School of Niklaus Wirth gdemont@my-deja.com (2000-11-22)
[1 later articles]
| List of all articles for this month |

From: genew@shuswap.net (Gene Wirchenko)
Newsgroups: comp.compilers
Date: 14 Nov 2000 13:12:09 -0500
Organization: Okanagan Internet Junction
References: 00-10-227 00-11-019 00-11-024
Keywords: design, comment
Posted-Date: 14 Nov 2000 13:12:09 EST

"Mikael Lyngvig" <mikael@pobox.com> wrote:


>It could just be a simple question of "being able to adopt to customer
>demands".
>
>Case-sensitivity, in file names and programming languages, is
>basically a very strange and illogical thing since humans tend to
>recognize names that differ solely in case without problems
>("seBAStian mOLEski" would probably work, if I wanted to get in touch
>with you. Also, you would probably be annoyed if your neighboor
>changed his name to "SebastiAn Moleski" claiming that the name had
>nothing to do with your name).


          Given the names "MacKie" and "Mackie" which are said differently,
what would you do?


>The fact that ill-designed languages such as C++, and C to a certain
>degree, have indoctrinated programmers to think case-sensitively
>should not be blamed upon Mr. Wirth.


          Let's not blame it on programming languages if any blame is
needed. It started much sooner. Remember spelling words in school
and how it was wrong if you didn't say "capital" as appropriate.


>Imagine that your mails, delivered via postal service, starts to
>bounce because you'd accidentally written "main Street" rather than
>"Main Street" (or the postal worker thinks you've written "main"
>rather than "Main")...
>
>Case-insensitivity IS the simple solution. You don't have to worry
>about case. I don't have to worry about case. We can spend our time
>being productive instead...


          No, instead what we have to do is:
    1) convert all strings to one case before comparison. (How's that
for in your face?) OR
    2) define a comparison operator that ignores case. ("Oh, here's
your bug. You used the case-sensitive compare instead of the
case-insensitive compare." (something like = and == in C))


          So much for not worrying about case.


          I think I'll just ignore ignoring case and get on with it.


[snipped previous]


Sincerely,


Gene Wirchenko
[Enough about upper and lower case. FYI, in another newsgroup Dennis
Ritchie noted that Unix file names are case sensitive because Multics
names were and they liked it that way. I imagine this influenced C as
well. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.