View Poll Results: Should PHP be case sensitive?
- Voters
- 8. You may not vote on this poll
-
Jun 21st, 2005, 05:01 AM
#1
Thread Starter
Lively Member
Should PHP be case sensitive???
Should PHP be case sensitive. OR for that matter any language. I so much like the independence that I get from VB6 without worrying about casing.
Jobs: "Do u want to sell colored sugar water or change the world?"
Get Firefox Now!!!
Mendhak leaving town. 
-
Jun 21st, 2005, 06:55 AM
#2
Re: Should PHP be case sensitive???
Personal preference. I have often been told that VB6/VB.NET being case insensitive (in the IDE, take note) promotes laziness.
-
Jun 21st, 2005, 07:31 AM
#3
Re: Should PHP be case sensitive???
It does. As well as a lot of other things with VB. Thats why it is often so hard for VB programmers to move to an other language afterwards.
-
Jun 22nd, 2005, 05:17 AM
#4
Thread Starter
Lively Member
Re: Should PHP be case sensitive???
well in a way this laziness is a convenience, why would anyone keep same names for two variables/functions in different case. Would it not promote confusing code.
Jobs: "Do u want to sell colored sugar water or change the world?"
Get Firefox Now!!!
Mendhak leaving town. 
-
Jun 22nd, 2005, 05:21 AM
#5
Re: Should PHP be case sensitive???
No, it is the opposite, it makes you learn the way to name Classes, Functions, and Variables in different languages. Like in many languages you have a big letter in front of a class name, and not for a variable. It is not ment to make two variable names with the same name but with different capitalization.
ØØ
-
Jun 22nd, 2005, 05:23 AM
#6
Re: Should PHP be case sensitive???
Ohhh just to add to that. You can see a similar example when it comes to indentation. Many new VB programmers don't use tab at all. How easy is it to read it then?
Other languages like Python wont work if you don't have it. It uses ONLY indentation to group functions and branching. So it all comes down to readability in the end.
ØØ
-
Jun 23rd, 2005, 12:06 AM
#7
Thread Starter
Lively Member
Re: Should PHP be case sensitive???
 Originally Posted by NoteMe
Ohhh just to add to that. You can see a similar example when it comes to indentation. Many new VB programmers don't use tab at all. How easy is it to read it then?
well we all were novices once. Every one has a learning curve.
Other languages like Python wont work if you don't have it. It uses ONLY indentation to group functions and branching. So it all comes down to readability in the end.
ØØ
Why on earth would some one create a language like that....
Jobs: "Do u want to sell colored sugar water or change the world?"
Get Firefox Now!!!
Mendhak leaving town. 
-
Jun 23rd, 2005, 02:06 AM
#8
Re: Should PHP be case sensitive???
I still create variables that are properly capitalized, and like the fact that the IDE remembers them the way they were defined. It's a lot better than QB, which capitalized all keywords.
-
Jun 30th, 2005, 01:41 AM
#9
Thread Starter
Lively Member
Re: Should PHP be case sensitive???
I am surprised very few people have taken part into this poll.
It means the results are less accurate. how can I make more people particiate.
Jobs: "Do u want to sell colored sugar water or change the world?"
Get Firefox Now!!!
Mendhak leaving town. 
-
Jun 30th, 2005, 01:48 AM
#10
Re: Should PHP be case sensitive???
By asking them very nicely and carrying a baseball bat. 
Most people who wanted to participate have probably done so... this isn't a very frequented forum.
Last edited by mendhak; Jun 30th, 2005 at 01:53 AM.
-
Jun 30th, 2005, 05:50 AM
#11
Re: Should PHP be case sensitive???
 Originally Posted by Bolerophone
Why on earth would some one create a language like that.... 
It makes you write pretty code.....code that looks like poetry...
-
Jul 4th, 2005, 12:04 PM
#12
Re: Should PHP be case sensitive???
You know what'd be perfect? The ability to turn it on and off! Like a simple "option casesensitive off" at the beginning of the program, or whatever would be equivalent for language X. Let people have their case sensitivity if they want, but at the same time don't deter users. Of course this might lead into problems with some libraries..
Bill
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|