Finally, one language issue that is a real pet peeve of mine is case
sensitive variable definitions. This is not a problem in either CFM or ASP.
While it can be somewhat worked around by setting the PHP error level
reporting to flag uninitialized variables, it is a deficiency that is long
overdue to be corrected.
From what I hear it's about to get worse. Instead of making variable names case insensitive they are going to make the function names case sensitive too. Seems like they want to make the language more C like.
As for other stuff my pet peeve is the lack of consistency in the functions. Look at all the string functions. Most of them work on a string but some one the string first some want it last some want it somewhere in the middle. It's even worse with database functions. Because each function is written by somebody else it uses a different calling convention or returns different things. PHP definately lacks the cohesiveness and intuitiveness of other scripting languages. I don't want to rag on it too much because obviously the good points of it outweigh the bad points for me but especially in large projects that require multiple programmers I really wish it was more cohesive. As it is I am never really confident about using any function without first checking the manual. In Perl or python I can pretty much guess what a function is going to do 90 percent of the time.
:wq
Tim Uckun
Due Diligence Inc. http://www.diligence.com/ Americas Background Investigation Expert.
If your company isn't doing background checks, maybe you haven't considered the risks of a bad hire.