4 ms·
PHP: - Easy to deploy on a webserver - Easy to integrate with HTML (good for small sites) Python: - Not ugly - Real and consistent object system -
by jmtulloss 19y ago
PHP:
- Easy to deploy on a webserver
- Easy to integrate with HTML (good for small sites)
Python:
- Not ugly
- Real and consistent object system
- Better documentation than PHP (even though PHP's is good)
- More consistent libraries
- BDFL (PHP is an unregulated mess)
- Good C API
- Excellent web frameworks
- Excellent desktop app support
- Very cross platform compatible
- http://www.python.org/dev/peps/pep-0020/
- It makes me smile
- thorax 19y agoJust so you know my position, I'm a major advocate for Python. I love it and not long ago talked about my "fun" integrating it with Counter-Strike: Source at PyCon, introducing Python to thousands of gaming enthusiasts who have never coded befre. Where can you point me to "better documentation than PHP"? This is a major difficulty for new people getting into Python-- the documentation is really quite poor and out-dated. My life would be much easier if the core Python documentation was nearly as good and organized as PHP or, even, MSDN. What I really want is for every framework and language to have documentation as stellar as the user guide for the PHP framework Code Igniter: http://codeigniter.com/user_guide/ http://codeigniter.com/user_guide/ As a long time Python hacker, I'm used to using the interactive interpreter for my documentation needs (and then the source later). But that is absolutely not sufficient for newbies coming into Python-- they're lost in the arcane organization and formatting of the core Python documentation. If you have a site that provides better core/comprehensive documentation than the official Python docs, let me know, as there are hundreds of Python scripters who would love it.
- lux 19y agoYears ago when I was switching from Perl to something else (I ended up on PHP mainly, and others where needed), I did look at Python but documentation was something that seemed lacking at that time. It just made me think at that point that Python wasn't going to be easy to find answers for when I run into problems. Sad to see that hasn't changed yet, it's been about 7 years since I really looked at it, and has gained some huge traction recently too.
- ijoshua 19y ago> Where can you point me to "better documentation than PHP"? This is a major difficulty for new people getting into Python-- the documentation is really quite poor and out-dated. I disagree that the Python documentation is poor or out-dated. However, it is fragmented in what could be considered a confusing manner. I’ve often been searching for a particular piece of documentation, wondering if I should be looking in the tutorial, the library reference, or the language reference.