> 1. There are no statement terminators. Lose your indentation for ANY > reason and your program is well and truly screwed, in ways you can't > imagine. > > 2. Python programs fail in the most ungraceful way I've ever seen in an > interpreted programming language.
1. Indent properly. In php, if you put an open or close brace out of place your code will break in unexpected ways as well. If it's hard to tell if something is indented properly, your code should be refactored so that it is. 2. In my experience this has a lot to do with how some people use python and not python itself. On Tue, Aug 20, 2013 at 12:12 PM, Tedd Sperling <tedd.sperl...@gmail.com>wrote: > On Aug 20, 2013, at 12:24 PM, Paul M Foster <pa...@quillandmouse.com> > wrote: > > > On Tue, Aug 20, 2013 at 05:09:37PM +0100, Lester Caine wrote: > > > >> shiplu wrote: > >>> During PHPvsPython search I found this info graphic > >>> https://www.udemy.com/blog/modern-language-wars/#. Some of the > >>> statistics contain Java too. Also you can search "PHP" and "Web > >>> Development" in big job sites and compare with same search but with > >>> "Java". > >> > >> 'Python is arguably the most readable programming language' probably > >> says it all? Personally I find it almost impossible to understand > >> when coming in cold to someone elses code ... Java is not much > >> better ... but I still have to persist with both since some key > >> elements of a usable PHP IDE now rely on both :( > > > > Python may be "most readable", but it's a huge fail for two reasons: > > > > 1. There are no statement terminators. Lose your indentation for ANY > > reason and your program is well and truly screwed, in ways you can't > > imagine. > > > > 2. Python programs fail in the most ungraceful way I've ever seen in an > > interpreted programming language. > > And no ternary operator. > > tedd > > _______________ > tedd sperling > tedd.sperl...@gmail.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- >From the desk of Dan Munro