News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SWAT Blog:
Python VS PHP
July 08, 2011 @ 08:53:25

On the SWAT blog there's a recent post comparing Python and PHP and some of the reasons the author prefers the former over the latter.

Even after just one week using Python, I remember why I'll always prefer it - it empowers me as a programmer. In the Python community, they refer to it as the "batteries included" philosophy - with the mere inclusion of a library, anything becomes possible. Combine that with clean and readable syntax, fluent interfaces, powerful list comprehensions, list slicing, an interactive console, and too many other features to mention, it's clear to see why.

He illustrates one of the differences between the two languages in the handling of things as objects versus strings. He recommends developers at least take a look at Python as an alternative to some of the usual PHP you might be used to.

0 comments voice your opinion now!
python compare prefer opinion


blog comments powered by Disqus

Similar Posts

Community News: SitePoint Launches PHPMaster.com

Michelangelo van Dam's Blog: Job Hunting 101

Najaf Ali's Blog: Why PHP is better than Ruby

PHPImpact Blog: PHP: Spaghetti alla Bolognese

Ray Cheung's Blog: Comparison Between Zend and CakePHP Framework


Community Events





Don't see your event here?
Let us know!


release list install package zendserver community laravel podcast symfony introduction update opinion interview framework api library language tips series deployment

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework