Eventually we're hoping to drop all the PHP stuff we don't like; for now, we're building replacements, and keeping the existing ones until "pure hack" projects are practical. For hack arrays, strings, and math operations, that's in the HSL, and we'll be adding more - and consistency/predictability is one of the primary goals behind that project.
It's very hard to answer this without getting into one of the usual language wars, but I'll try for Python and Ruby:
some parts of PHP are awesome for web development - e.g. the idea that a request is the entire lifecycle of your program. This isn't just about dev workflow - the 'nothing is shared between requests unless you explicitly store it somewhere' thing is great
the hack typechecker
Python and Ruby also both have things they do better than Hack and PHP; which one is 'best' depends heavily on the context.
I've not worked enough with Ocaml or Haskell to try to answer for them.
0
u/[deleted] Sep 21 '17
[deleted]