2 ms·
Python is a better general-purpose language IMO -- you can do everything from smallish scripts, to web scrapers, to servers of varying complexity quite easily w
by mattbillenstein 15y ago
Python is a better general-purpose language IMO -- you can do everything from smallish scripts, to web scrapers, to servers of varying complexity quite easily whereas I don't think PHP has this sort of breadth.
In terms of overall design, Python is mostly well thought-out -- PHP feels more like things were bolted on haphazardly. Also, some of the nuances about how types work in PHP just blows the mind...
Also, I'd ask around in the community a bit -- ask 10 startups that are on PHP vs 10 startups that are on Python if they'd stick with their language for a new startup or product. I'd bet hands down the Python guys outnumber the PHP guys.