Ask HN: Python or PHP?

  • The only tangible advantage that PHP has these days is in being able to be deployed pretty much everywhere for fairly cheaply.

    If 'cost' is your absolute and only criteria, the answer is probably PHP. If place any other criteria above cost for language choices, the answer is probably Python.

    Usually these questions involve more, and are harder to answer, but this one's generally pretty easy. Python.

  • For what task? There are things I use Python for; others I use C.

    That said...I'd never use PHP for anything I had a say in.