PHP vs. Python/comp.lang.php?

Oleg Broytmann phd at phd.pp.ru
Fri Nov 23 18:36:10 CET 2001


On Fri, Nov 23, 2001 at 04:41:55PM +0000, phil hunt wrote:
> PHP is also ugly. As an example, compare: 
> 
> PHP:     $object->$member
> Python:  object.member  

   Unfortunately, latest versions of Python have its own gotchas.
"; ".join([a.id for a in listIds() if a.b > x])
   looks worse than PHP, it looks almost like perl :(

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list