3 ms·
Speaking as someone who is tangled in a love triangle between Python and PHP. I do agree that PHP does have it's strengths. For the programmer just making a liv
by jamongkad 17y ago
Speaking as someone who is tangled in a love triangle between Python and PHP. I do agree that PHP does have it's strengths. For the programmer just making a living, it's quite ok to etch out just using it.
In terms of web applications, what you can accomplish in PHP you can pretty much do in Python. But the difference comes in when you do "care" about the tools you're using.
When you want that extra power.
When you want something sane to work with.
Python and friends give provide that for you.
I do love PHP, it's deployment is a snap and the frameworks we have now are kick ass. But Python is such a joy to work with it. And the longer I work with it, it gets harder to come back to PHP.
- jacquesm 17y agoI'm at the stage where the temptation to use PHP for something quick & dirty (a one-off script or so) is still very strong, mainly because I know all the details by heart and can pretty much realize the script as fast as I can type it in. In python it would take me a bit more time and that time is not always available. But the future is clear to me, no more PHP if I can help it. There are plenty of things that irritate me about python, but they are mostly things that you learn about, then it stays learned. PHP keeps throwing up new ways to trip you up even after years of using it. In a way I'm glad to have gone this route, in spite of the learning curve with python (and Django), I can already see it pay off when I see functions shrink to 1/3rd the size they were using PHP. The only thing really still missing from the python under apache model is a multi threaded shared state environment. That would really allow you to blow other solutions out of the water in terms of speed. Now you still have to make that round trip to the database on the next page fetch.
- zaidf 17y agoWhat python framework do you use?
- jamongkad 17y agoPylons.