|
Posted by Jerry Stuckle on 05/15/06 21:48
Tony Marston wrote:
>
> No. My point is that I have worked for over 20 years using computer
> languages which were totally insensitive to case (assembler, COBOL, quiz,
> quick, qtp, SPL, Rapid, Transact, Insight, Uniface, SQL) and I cannot see
> any problem which is solved by making any language sensitive to case. Just
> the opposite, in fact, I can only see the introducion of new problems.
>
Not this argument again. Give it up, Tony. You aren't going to change the world.
For the record - I have almost twice as many years of programming as you do,
starting with Fortran in the mid-60's. My first case sensitive language was C
in the mid 1980's - probably about the time you started programming. Over the
years I've written code in over a dozen different languages, including PL/I,
Assembler (both mainframe and PC), REXX, PASCAL, BASIC, C++ and Java.
I've seen definite advantages to case sensitivity, and have grown to like it.
For instance, I can declare a class Customer. I can then have variable names
like customer, customer1, customer2, etc. - or even an array customer[].
I find it not at all confusing. Class names start with caps. Variable names do
not. Simple and easy. And a programmer can quickly relate the variable to the
class using it.
And, as others have pointed out, use all caps anything defined as a CONSTANT.
That way you know it's a constant.
And that's the way PHP is, whether you like it or not. And if you hate it so
much, go back to COBOL or another case-insensitive language.
But don't keep bringing this topic up. It only shows how stubborn you are.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|