Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Haskell is a functional language, PHP is not. So it's not a valid comparison.

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.



"PHP is not any worse or better than any other 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?


You're right. Let's compare to a more adequate language. Like Ruby.

  def inc_all(i, xs)
    xs.map { |x| x + i }
  end




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: