Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Why the
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Why the

 Post Reply Post Reply
Author
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Topic: Why the
    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!

Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2003 at 7:23pm
case-sensitive languages aren't a problem at all if you already use proper coding/naming conventions.
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bluefrog Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.



Edited by dpyers

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2003 at 2:44am
Hmm still dont see the point of it if you have an option
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2003 at 7:37am
If you don't see the point, then you didn't read dpyers's post...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.