Page 2 of 2
Posted: Thu Jul 20, 2006 2:19 pm
by Chris Corbyn
Function names don't bother me. What really irritates me is that I use the string and array functions all the time yet I *still* have to look in the manual almost every time because they can't stick with a standard on the order of parameters for needle, haystack

Posted: Thu Jul 20, 2006 2:48 pm
by Luke
yea that is really annoying.
Posted: Thu Jul 20, 2006 3:19 pm
by jayshields
yeah. needle haystack consistency is lame. i also think underscores in function names should be consistent.
Posted: Thu Jul 20, 2006 3:22 pm
by RobertGonzalez
Now you guys are catching on the what I am talking about...
I had read in a meeting notes or something on PHP6 that there was talk of standardizing the use of needle and haystack functions so they all worked the same. The group decided that since there were not that many functions that used haystack, needle, they would leave them the way they are.
Nobody talked about the underscored function names though. That's be nice.
Posted: Thu Jul 20, 2006 3:40 pm
by Roja
Everah wrote:The group decided that since there were not that many functions that used haystack, needle, they would leave them the way they are.
I think it was something like 6 out of 50. And to fix it, they'd either have to totally break all old scripts, or add MORE cruft to the language to work around accepting either - and having undefined/unpredictable behavior in many cases.
Frankly, not worth it.
Everah wrote:Nobody talked about the underscored function names though. That's be nice.
Never bothered me.
Posted: Thu Jul 20, 2006 3:56 pm
by RobertGonzalez
I understand their reasoning. And the underscored function names really never bother me either, but they do seem a bit inconsistent. Like I said, for the cost, I can't complain.