Re:Show HN: PHP does Meta Programming too
by apgwoz on Wednesday August 31, 2011 @08:12AM
(#2945200)
I think he's referring to bugs such as breaking crypt() when using an md5 hash as a salt, and other things of that nature.
Re:Show HN: PHP does Meta Programming too
by troels on Wednesday August 31, 2011 @08:26AM
(#2945234)
That was fixed pretty fast though (Notwithstanding that it shouldn't have happened in the first place, but hey)
Re:Show HN: PHP does Meta Programming too
by apgwoz on Wednesday August 31, 2011 @09:37AM
(#2945453)
Sure, but when a bug like that occurs it gets "mainstream" press and PHP haters everywhere add it as part of the book of "Ugh, PHP Y U So Horrible?"
Re:Show HN: PHP does Meta Programming too
by apgwoz on Wednesday August 31, 2011 @02:37PM
(#2946914)
downvoters: If you disagree, at least tell me why...
Re:Show HN: PHP does Meta Programming too
by rmccue on Wednesday August 31, 2011 @08:52AM
(#2945286)
There's a fairly consistent order of haystack/needle, but it depends on what the function does (i.e. string functions vs. array functions).
It is fairly annoying to have any differences, but it's fairly easy to remember them.
You are probably referring to the mountains of crappy PHP code? About the inconsistent order of 'haystack' and 'needle', or the lack of a common policy on whether or not to use a underscore as separator? Those are valid complaints, but no argument against improvement of the language. On the contrary, I would say.