|
In lugnet.off-topic.debate, Sproaticus wrote:
> Frank Filz wrote:
> > Why is case insensitivity evil? What good comes from having case
> > sensitivity? I have yet to see any good coming from case sensitivity in
> > a file system or a programming language.
>
> 2 reasons come to me right away:
>
> Case sensitivity contributes to a faster and less-buggy environment. If you
> need to match a string against a set of possible matches (e.g. looking for a
> file in the directory, or looking for a variable in a 15,000-line source file)
> then case sensitivity is the fastest, simplest, and easiest way to go.
That one I'll give you. Then again, I use a development which supports
case-insensitive text matching. Which is definitely a double-edged
sword.
> Case sensitivity also reduces ambiguity while preserving flexability. If I'm
> loading a file named "Makefile" amongst { "makefile", "Makefile", "MAKEFILE"
> }, then I know exactly which one I get.
Nah. You only get to store one of those files in a single directory.
And if you're looking at more than one directory, then you get the first
one found.
Steve
|
|
Message is in Reply To:
| | Re: Website
|
| (...) 2 reasons come to me right away: Case sensitivity contributes to a faster and less-buggy environment. If you need to match a string against a set of possible matches (e.g. looking for a file in the directory, or looking for a variable in a (...) (25 years ago, 15-Mar-00, to lugnet.off-topic.debate)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|