3 ms·
Oh god, no! If they rather fixed the eye-stinging bugs instead of creating other hundreds of them.
by kachnuv_ocasek 15y ago
Oh god, no! If they rather fixed the eye-stinging bugs instead of creating other hundreds of them.
- akie 15y agoI work with PHP daily and do not know of what you speak. Haters be hatin', but your 'eye-stinging bugs' are unknown to me. Care to provide some examples? 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.
- apgwoz 15y agoI think he's referring to bugs such as breaking crypt() when using an md5 hash as a salt, and other things of that nature.
- troels 15y agoThat was fixed pretty fast though (Notwithstanding that it shouldn't have happened in the first place, but hey)
- rmccue 15y agoThere'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.
- okal 15y agoCould just be me, but it seems like there's a decided bias against PHP on a lot of HN threads. As someone who uses PHP on a regular basis, I'd love it if you could point out some of these "eye stinging bugs". I experiment a LOT with other languages and I don't find anything lacking in PHP that I need in a scripting language. I've never been unable to accomplish anything that I needed to in it, and I personally don't recall ever having to resort to unsightly hacks. All this whining is getting rather old. PHP is not Clojure, Ruby, Node or [insert your favorite language/tech here], and guess what? Some of us like that, a lot.