Every time I ask people what's wrong with PHP they give me answers from functional languages. I've yet to see anyone give me an example from a procedural language.
Haskell fits as "any other".
"Haskell is a functional language, PHP is not. So it's not a valid comparison."
So, PHP is not any worse or better than any other language that's just like PHP?
def inc_all(i, xs) xs.map { |x| x + i } end
Every time I ask people what's wrong with PHP they give me answers from functional languages. I've yet to see anyone give me an example from a procedural language.