Subject:
|
Case-sensitivity in programming languages
|
Newsgroups:
|
lugnet.publish
|
Date:
|
Wed, 17 Feb 1999 19:24:34 GMT
|
Viewed:
|
1541 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.publish, blisses@worldnet.att.net (Steve Bliss) writes:
> [...]
> I also don't like my programming languages to be case sensitive, for
> more-or-less the same reason. I think it's illogical for a program to
> choke on the keyword 'if', but accept 'IF' with no problem.
> [...]
Well, one of the reasons many high-level languages are case-sensitive is that
it vastly increases flexibility and expressiveness. Languages such as Lisp,
Forth, PostScript, Perl, etc. with advanced string manipulation capabilities,
dynamic run-time typing, late binding, etc., all let you define functions and
treat them as if they were built-in language features. Same goes for operator
and method overloading. These extension mechanisms, usually using symbol
tables, make use of the same code used for dictionaries (e.g., hashes or
associative arrays). This is an extremely flexible and powerful paradigm, the
effectiveness of which would be severely hampered by case-insensitivity.
Notwithstanding, a language could certainly employ an uppercasing or
lowercasing filter in the symbol table lookup, but then you'd have to introduce
extra syntax into the grammar to specify when you wanted case-sensitive lookups
and when you wanted case-insensitive lookups.
Anyway, on the surface, it may seem restricting when a language differentiates
between 'if' and 'IF', but if the language has any real extensibility in it,
it would actually be restricting not to differentiate. Older languages like C,
C++, Pascal, FORTRAN, BASIC, etc., however, don't really benefit much from
case-sensitivity, except maybe for human-readability issues such as macros
conventionally being uppercase in C, so that, say, ASSERT(x) really means
something different from assert(x).
--Todd
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: Case-sensitivity in programming languages
|
| [I suppose this should move to off-topic. Oh well.] (...) If you say so. (...) I'll disagree that it only *seems* restricting *on the surface*. When I read "assert(x)" and "ASSERT(x)", my brain thinks they mean the same thing. I've used systems (...) (25 years ago, 17-Feb-99, to lugnet.publish)
|
Message is in Reply To:
![](/news/x.gif) | | Re: Lego Easter Eggs!
|
| (...) Is 'Reason' the same word as 'reason'? Filenames aren't just some internal computer identification. They're used by people, and people are not (generally) case-sensitive. Well, they might be case-sensitive if you don't capitalize their name (...) (25 years ago, 17-Feb-99, to lugnet.publish)
|
58 Messages in This Thread: ![Lego Easter Eggs! -Richard Dee (13-Feb-99 to lugnet.announce, lugnet.loc.uk)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Todd Lehman (13-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Richard Dee (13-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Todd Lehman (13-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Richard Dee (14-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (14-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Steve Bliss (15-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Steve Bliss (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Anders Isaksson (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Steve Bliss (16-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Lego Easter Eggs! -Richard Dee (17-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Steve Bliss (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (17-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Lego Easter Eggs! -Bram Lambrecht (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Mike Stanley (17-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Lego Easter Eggs! -Mike Stanley (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -John DiRienzo (17-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Lego Easter Eggs! -Richard Dee (15-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (16-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Lego Easter Eggs! -Larry Pieniazek (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (16-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Lego Easter Eggs! -Steve Bliss (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Steve Bliss (16-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Jasper Janssen (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Steve Bliss (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Mike Stanley (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Steve Bliss (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Unix geeks -Todd Lehman (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Unix geeks -Jasper Janssen (18-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Unix geeks -Larry Pieniazek (18-Feb-99 to lugnet.publish, lugnet.off-topic.fun)](/news/x.gif) ![](/news/46.gif) ![Re: Unix geeks -Jasper Janssen (19-Feb-99 to lugnet.publish, lugnet.off-topic.fun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Unix geeks -Alan Shutko (18-Feb-99 to lugnet.publish, lugnet.off-topic.fun)](/news/x.gif) ![](/news/46.gif) ![Re: Unix geeks -Larry Pieniazek (18-Feb-99 to lugnet.publish, lugnet.off-topic.fun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Unix geeks -Todd Lehman (18-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Case-sensitivity in programming languages -Steve Bliss (17-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Case-sensitivity in programming languages -Todd Lehman (18-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Case-sensitivity in programming languages -Roy Earls (18-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Case-sensitivity in programming languages -Jasper Janssen (18-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Case-sensitivity in programming languages -Steve Bliss (18-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Case-sensitivity in programming languages -Roy Earls (19-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/46.gif) ![Re: Case-sensitivity in programming languages -Steve Bliss (19-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Case-sensitivity in programming languages -Steve Bliss (18-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Case-sensitivity in programming languages -Roy Earls (19-Feb-99 to lugnet.publish)](/news/x.gif) ![](/news/246.gif) ![Re: Case-sensitivity in programming languages -Jasper Janssen (20-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Case-sensitivity in programming languages -Roy Earls (20-Feb-99 to lugnet.publish)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: Lego Easter Eggs! -Jason Spangler (13-Feb-99 to lugnet.loc.uk, lugnet.announce)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: Lego Easter Eggs! -Huw Millington (13-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Richard Dee (13-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/246.gif) ![Re: Lego Easter Eggs! -Simon Denscombe (14-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Richard Dee (14-Feb-99 to lugnet.loc.uk)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Lego Easter Eggs! -Huw Millington (14-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Richard Dee (14-Feb-99 to lugnet.loc.uk)](/news/x.gif) ![](/news/46.gif) ![Re: Lego Easter Eggs! -Steve Scott (14-Feb-99 to lugnet.loc.uk)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Lego Easter Eggs! -Huw Millington (27-Feb-99 to lugnet.loc.uk)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|