Walden H. Leverich III wrote:
...
Seriously, I've never understood the rationale behind allowing foo.bar,
Foo.BAr, FOO.bAr and FoO.BAR as 4 different files. Sure, maybe long ago
there was a performance or ease of programming issue that required
case-sensative compares, but in today's world it's just silly. It's also one
of the things that bugs me about Java, who in their right mind designed a
new, modern, feature-packed language and made it case sensitive?

Offhand, I can think of one practical consideration - different code pages. If you want to have case insensitive file names along with national language character sets, how do you take accented characters into account? Before answering, consider that some characters in certain languages exist in lower case form but not upper case (or vice versa).


Actually, these days, most new programming languages continue the tradition established by C decades ago and have case sensitive names.

(RPG IV has case insensitive names for one reason only - the SQL preprocessor for RPG III at the time upper-cased names. RPG IV had to do the same for compatibility.)

Cheers! Hans



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.