10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
1–10 of 18 posts
Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#2Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#3I don't know that I've ever heard anyone say that they prefer PHP over Python, so I doubt you'll get that response on here.
I'm honestly not a huge fan of either. Are you deciding whether to learn Python? What you want to use going forward?
Honestly having 10+ years of PHP experience probably makes it a hands-down winner (for you personally) in terms of productivity. It'd be a while before you'd see any real productivity gains from Python.
That said, there are maintainability considerations for each language, and Python wins in some of those categories.
Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#4Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#5* Once you know PHP, it's really fast to get shit done. Can't deny that.
* After staying with one language for so many years, it's crucial to try something new. You might not like it, but there might be some parts that could inspire you. It's really toxic to be stuck in one mindset for a very long time.
* Anecdotal, but I found an average Python dev to be better than average PHP dev (oh god, all those custom PHP frameworks I had to maintain and rescue projects from death).
* Python has great libraries for statistics, machine learning, image processing, etc - it's very universal.
* There is loads of great info about Python on the Internet and transition should be smooth once you get used to not putting semicolon ;)
* I found that there are more better paying jobs in Python.
All in all, why not to try?
Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#6Taylor has done a great job on it.
Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#7That said most of the stuff I write myself lately is in Python.
Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#8Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#9I don't use PHP at all, but one thing I envy PHP (and Perl) users is that they have excellent libraries to interact with SQL databases in the form of PDO (PHP) and DBI (Perl). There's no direct equivalent of this in Python which is a shame. The mantra in Python land is to use ORMs which I am not a fan of.
Re: 10yr+ PHP Dev Wondering: Python vs. PHP for Web Applications?
#10I don't use PHP at all, but one thing I envy PHP (and Perl) users is that they have excellent libraries to interact with SQL databases in the form of PDO (PHP) and DBI (Perl). There's no direct equivalent of this in Python which is a shame. The mantra in Python land is to use ORMs which I am not a fan of.