User loginNavigation |
CaSe SenSitIviTy! What is its purpose in programming language syntax?I grew up with Pascal. It's been my language of choice for doing mostly everything. Everytime I try and switch to other (case sensitive) languages, specifically C++/C#, I am incredibly put off by the case sensitivity of the syntax. What especially gets me, especially from a readability point of view, are things like variable declarations in the following fashion:
That's the most braindead thing I've ever seen, naming a variable after the type, except it's unique because the character case is different.... Not only does this kill readability, but the very nature of the case sensitive syntax means that you're constantly having to think about variable names, instead of just using the bloody things in that activity otherwise known as programming. And don't get me started on the debugging headaches it causes simply because you typed "S" instead of "s", somewhere. To me, it makes the coding process needlessly complicated. The ordinal value of a character shouldn't change its meaning except if it specifically occurs as data. Of course, the source code of a program IS data, but only for use by the compiler. Why should we as programmers have to suffer just to keep the compiler happy? Somebody, please give me some good solid reasons why case-sensitivity is useful. M$ had a golden opportunity with C#, yet they kept it case-sensitive. WHY? Surely it wasn't to support existing code bases, was it? By Riaan Moll at 2005-11-10 07:52 | LtU Forum | previous forum topic | next forum topic | other blogs | 30818 reads
|
Browse archivesActive forum topics |
Recent comments
1 hour 4 min ago
1 hour 13 min ago
1 hour 18 min ago
8 hours 33 min ago
8 hours 48 min ago
13 hours 30 min ago
16 hours 5 min ago
22 hours 16 min ago
1 day 4 hours ago
1 day 6 hours ago