views:

149

answers:

2

Hi!

Why those languages are case-sensitive? I've become curious because I was reading the differences between VB.NET and C Sharp, and VB.NET is not case-sensitive. And I think this way is better, because case-sensitive can only be a source of bugs and bad code. Bad code because there's no reason to have variable's names that differ only by the case (that may cause nightmares!).

http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Visual_Basic_.NET

http://www.codinghorror.com/blog/2005/12/the-case-for-case-insensitivity.html

A: 

Because C does and every language that copied the syntax kept it.

Winston Ewert
A: 

Its just a convention - one with I (and many other programmers) prefer.

The argument for / against case sensitivity is more of a religious one than one based on any evidence - a quick Google search reveals many articles written by various people preaching their personal preference.

Kragen