Print Page | Close Window

Why the

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6124
Printed Date: 30 March 2026 at 3:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Why the
Posted By: Gullanian
Subject: Why the
Date Posted: 02 October 2003 at 7:17pm

What moron on this planet, or group of morons decided that case sensitivity in any language was a worthwhile thing to do.  What the hell is the point of it?

It seems all a bit pointless and time wasting, as far as I can tell allit does is:

  • Make more variable names avaliable, but come on how many people do you know create variables with the same name except one letter in upper case, plus your never going to run out in real life are you
  • It makes it look pretty, but so what

If im missing something please tell, case sensitivity just been stressing me out latetly with some other bits n bobs!




Replies:
Posted By: KCWebMonkey
Date Posted: 02 October 2003 at 7:23pm
case-sensitive languages aren't a problem at all if you already use proper coding/naming conventions.


Posted By: Bluefrog
Date Posted: 02 October 2003 at 7:35pm

Case sensitivity can be a real pain in the arse sometimes. I spent far too much time a few weeks ago trying to track down where I screwed up in a client side script. Turns out I spelled the javascript split method 'Split', which broke the script. Just a silly little typo, but a world of aggravation.

 



-------------
http://renegademinds.com/" rel="nofollow - Renegade Minds - Guitar Software http://renegademinds.com/Default.aspx?tabid=65" rel="nofollow - Slow Down Music


Posted By: dpyers
Date Posted: 03 October 2003 at 1:18am

It has to do with the machine level code that languages are converted to in order to execute. There's a wide range of issues involved, but a simplistic answer is...

The bit representation of upper and lower case letters is different - "c" physically sorts and compares differently from "C". In order to provide case insensitivity, a performance penalty is incurred by every machine level operation as the bit-level code has to be resolved for each instruction.

Compilers resolve these issues as part of the code compilation process by effectively converting all characters to one case. Scripting (asp, javascript, etc) and shell languages incurr the conversion penalty during run time. JavaScript came from the Unix world where performance rules.

KCWebMonkeys point is a good one. Option Explicit and Reverse Polish Notation are your friends.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Gullanian
Date Posted: 03 October 2003 at 2:44am
Hmm still dont see the point of it if you have an option


Posted By: KCWebMonkey
Date Posted: 03 October 2003 at 7:37am
If you don't see the point, then you didn't read dpyers's post...



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net