<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Commentary on Python from a Java programming perspective</title>
	<atom:link href="http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/</link>
	<description>Dhananjay Nene's opinions on software programming, design, architecture and the internet</description>
	<lastBuildDate>Fri, 27 Aug 2010 05:23:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Parag Shah</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-3889</link>
		<dc:creator>Parag Shah</dc:creator>
		<pubDate>Mon, 26 Jan 2009 05:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-3889</guid>
		<description>Very nice post. 

I agree that the forced indentation in Python will lead to more readable code. I have seen some terribly formatted code in Java, and wished that indentation were forced there too.

However, when working on a team project some people will set their IDE&#039;s to use spaces instead of tabs, and some people might use tabs.

Will that be a problem? Are there any standards regarding indentation in Python?

--
Thanks
Parag</description>
		<content:encoded><![CDATA[<p>Very nice post. </p>
<p>I agree that the forced indentation in Python will lead to more readable code. I have seen some terribly formatted code in Java, and wished that indentation were forced there too.</p>
<p>However, when working on a team project some people will set their IDE&#8217;s to use spaces instead of tabs, and some people might use tabs.</p>
<p>Will that be a problem? Are there any standards regarding indentation in Python?</p>
<p>&#8211;<br />
Thanks<br />
Parag</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cassidy &#187; Blog Archive &#187; Pythonic DB4O</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-514</link>
		<dc:creator>Jim Cassidy &#187; Blog Archive &#187; Pythonic DB4O</dc:creator>
		<pubDate>Mon, 17 Nov 2008 14:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-514</guid>
		<description>[...] site stats indicate that few people have paid attention to the articles I posted by Dhananjay Nene. As I continue working with DB4O, I hope you get a chance to read these articles, especially the [...]</description>
		<content:encoded><![CDATA[<p>[...] site stats indicate that few people have paid attention to the articles I posted by Dhananjay Nene. As I continue working with DB4O, I hope you get a chance to read these articles, especially the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cassidy &#187; Blog Archive &#187; Python vs Java</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-511</link>
		<dc:creator>Jim Cassidy &#187; Blog Archive &#187; Python vs Java</dc:creator>
		<pubDate>Wed, 12 Nov 2008 14:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-511</guid>
		<description>[...] accept this link as my next installment. This writer reflects on the differences between Java and Python, and how he feels more productive using Python. [...]</description>
		<content:encoded><![CDATA[<p>[...] accept this link as my next installment. This writer reflects on the differences between Java and Python, and how he feels more productive using Python. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Generation 5 &#187; Nested Sets, PHP, Verb Objects and Noun Objects</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-507</link>
		<dc:creator>Generation 5 &#187; Nested Sets, PHP, Verb Objects and Noun Objects</dc:creator>
		<pubDate>Tue, 04 Nov 2008 17:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-507</guid>
		<description>[...] Controversy persists to this day about the relative merits of dynamic languages such as PHP and Python versus static languages such as C# and Java.  We&#8217;re finding more and more that the difference isn&#8217;t so much about static or dynamic typing,  but more about the cultures of different languages.   In this article,  I discuss an efficient representations of SQL trees in a database,  an algorithm for creating that representation,  and a PHP implementation.  The PHP implementations uses objects in a way foreign to many developers:  rather than using objects to represent nouns (data),  it uses a class to represent a verb (an algorithm.)  I make the case that programmers shouldn&#8217;t feel compelled to create new classes to represent every data item:  that verb objects often provide the right level of abstraction for many tasks. [...]</description>
		<content:encoded><![CDATA[<p>[...] Controversy persists to this day about the relative merits of dynamic languages such as PHP and Python versus static languages such as C# and Java.  We&#8217;re finding more and more that the difference isn&#8217;t so much about static or dynamic typing,  but more about the cultures of different languages.   In this article,  I discuss an efficient representations of SQL trees in a database,  an algorithm for creating that representation,  and a PHP implementation.  The PHP implementations uses objects in a way foreign to many developers:  rather than using objects to represent nouns (data),  it uses a class to represent a verb (an algorithm.)  I make the case that programmers shouldn&#8217;t feel compelled to create new classes to represent every data item:  that verb objects often provide the right level of abstraction for many tasks. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Commentary on Python from a Java programming perspective - Part 2 - How duck typing influences class design and design principles</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-483</link>
		<dc:creator>Commentary on Python from a Java programming perspective - Part 2 - How duck typing influences class design and design principles</dc:creator>
		<pubDate>Thu, 25 Sep 2008 17:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-483</guid>
		<description>[...] :  A few days ago I blogged about  Commentary on Python from a Java programming perspective. In that post I avoided getting into the specific details with code snippets etc since I wanted to [...]</description>
		<content:encoded><![CDATA[<p>[...] :  A few days ago I blogged about  Commentary on Python from a Java programming perspective. In that post I avoided getting into the specific details with code snippets etc since I wanted to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PuneTech &#187; Why Python is better than Java?</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-479</link>
		<dc:creator>PuneTech &#187; Why Python is better than Java?</dc:creator>
		<pubDate>Mon, 22 Sep 2008 03:01:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-479</guid>
		<description>[...] Nene recently switched over to Python and has discovered that he is much happier writing programs in Python. He has a detailed post over at this blog on the reasons: I think the most dominant impression from [...]</description>
		<content:encoded><![CDATA[<p>[...] Nene recently switched over to Python and has discovered that he is much happier writing programs in Python. He has a detailed post over at this blog on the reasons: I think the most dominant impression from [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-476</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Sat, 20 Sep 2008 10:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-476</guid>
		<description>Interesting article. But was it a team project? I wish there were more people sharing their experience about an (average) team of java developers doing a project in those dynamically typed languages...  IMHO it might be painful.</description>
		<content:encoded><![CDATA[<p>Interesting article. But was it a team project? I wish there were more people sharing their experience about an (average) team of java developers doing a project in those dynamically typed languages&#8230;  IMHO it might be painful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnene</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-475</link>
		<dc:creator>dnene</dc:creator>
		<pubDate>Fri, 19 Sep 2008 04:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-475</guid>
		<description>JS,&lt;br&gt;&lt;br&gt;I concur it is indeed a viable approach and that it is possible that I could&lt;br&gt;choose to exercise that optiion as well. I think it will indeed depend on&lt;br&gt;the nature of the application and its distribution model. I would think that&lt;br&gt;if the application hotspots are fairly localized and if it is intended to be&lt;br&gt;used in few installations, then using C/C++ indeed becomes a attractive&lt;br&gt;option.&lt;br&gt;&lt;br&gt;Dhananjay</description>
		<content:encoded><![CDATA[<p>JS,</p>
<p>I concur it is indeed a viable approach and that it is possible that I could<br />choose to exercise that optiion as well. I think it will indeed depend on<br />the nature of the application and its distribution model. I would think that<br />if the application hotspots are fairly localized and if it is intended to be<br />used in few installations, then using C/C++ indeed becomes a attractive<br />option.</p>
<p>Dhananjay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JS</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-474</link>
		<dc:creator>JS</dc:creator>
		<pubDate>Fri, 19 Sep 2008 04:34:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-474</guid>
		<description>Hello,&lt;br&gt;&lt;br&gt;One neat thing about Python is that if you have performance bottlenecks, you can drop down into C/C++ code to rewrite just those parts of your system that have problems.  How come you don&#039;t see this approach as viable as simply writing the whole application in Java instead of Python with some parts rewritten in C?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>One neat thing about Python is that if you have performance bottlenecks, you can drop down into C/C++ code to rewrite just those parts of your system that have problems.  How come you don&#39;t see this approach as viable as simply writing the whole application in Java instead of Python with some parts rewritten in C?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnene</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-473</link>
		<dc:creator>dnene</dc:creator>
		<pubDate>Fri, 19 Sep 2008 02:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-473</guid>
		<description>Quite interesting indeed. A fair bit of similarities I must confess with code snippets as well.</description>
		<content:encoded><![CDATA[<p>Quite interesting indeed. A fair bit of similarities I must confess with code snippets as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Clapper</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-472</link>
		<dc:creator>Brian Clapper</dc:creator>
		<pubDate>Thu, 18 Sep 2008 17:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-472</guid>
		<description>Funny... I wrote a similar blog article a couple months ago. See &lt;a href=&quot;http://brizzled.clapper.org/id/75&quot;&gt;http://brizzled.clapper.org/id/75&lt;/a&gt;&lt;br&gt;&lt;br&gt;It&#039;s quite interesting to read others&#039; experiences.</description>
		<content:encoded><![CDATA[<p>Funny&#8230; I wrote a similar blog article a couple months ago. See <a href="http://brizzled.clapper.org/id/75">http://brizzled.clapper.org/id/75</a></p>
<p>It&#39;s quite interesting to read others&#39; experiences.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sindhu</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-471</link>
		<dc:creator>sindhu</dc:creator>
		<pubDate>Thu, 18 Sep 2008 15:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-471</guid>
		<description>Am learning Java at College currently, almost done with the intermediate stuff, I&#039;ve been wanting to learn python since all the web APIs seem to prefer that. I really liked the article I could relate to it, It would be nicer though if you broke them up into paragraphs, kinda hard to read a long chunk of text, I lost track whenever I shifted focus.</description>
		<content:encoded><![CDATA[<p>Am learning Java at College currently, almost done with the intermediate stuff, I&#39;ve been wanting to learn python since all the web APIs seem to prefer that. I really liked the article I could relate to it, It would be nicer though if you broke them up into paragraphs, kinda hard to read a long chunk of text, I lost track whenever I shifted focus.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnene</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-470</link>
		<dc:creator>dnene</dc:creator>
		<pubDate>Thu, 18 Sep 2008 01:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-470</guid>
		<description>Yes, I was indeed using CPython.&lt;br&gt;&lt;br&gt;While I have conducted benchmarks on at least 10 occasions, I haven&#039;t kept records of the same. However the one time I did maintain detailed records, I documented these here : &lt;a href=&quot;http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/&quot;&gt;http://blog.dhananjaynene.com/2008/07/performan...&lt;/a&gt; , it includes a benchmark on CPython, Jython and psyco as well. I will stand by my assertion that there is indeed a substantial difference in run time performance on most counts.&lt;br&gt;&lt;br&gt;An example of tough refactoring is changing the method name in a scenario where the method is being used in a class hierarchy.</description>
		<content:encoded><![CDATA[<p>Yes, I was indeed using CPython.</p>
<p>While I have conducted benchmarks on at least 10 occasions, I haven&#39;t kept records of the same. However the one time I did maintain detailed records, I documented these here : <a href="http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/"></a><a href="http://blog.dhananjaynene.com/2008/07/performan.." rel="nofollow">http://blog.dhananjaynene.com/2008/07/performan..</a>. , it includes a benchmark on CPython, Jython and psyco as well. I will stand by my assertion that there is indeed a substantial difference in run time performance on most counts.</p>
<p>An example of tough refactoring is changing the method name in a scenario where the method is being used in a class hierarchy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dnene</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-469</link>
		<dc:creator>dnene</dc:creator>
		<pubDate>Wed, 17 Sep 2008 23:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-469</guid>
		<description>David,&lt;br&gt;&lt;br&gt;Nice tutorial and great references as well.&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;Dhananjay</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Nice tutorial and great references as well.</p>
<p>Thanks.<br />Dhananjay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apang</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-468</link>
		<dc:creator>apang</dc:creator>
		<pubDate>Wed, 17 Sep 2008 22:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-468</guid>
		<description>Exiting to the command line and executing code? How about running an inferior process in emacs and sending the current region? Any language without eval feels like a pain to use for me :)</description>
		<content:encoded><![CDATA[<p>Exiting to the command line and executing code? How about running an inferior process in emacs and sending the current region? Any language without eval feels like a pain to use for me <img src='http://blog.dhananjaynene.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Fairs</title>
		<link>http://blog.dhananjaynene.com/2008/09/commentary-on-python-from-a-java-programming-perspective/comment-page-1/#comment-467</link>
		<dc:creator>Dan Fairs</dc:creator>
		<pubDate>Wed, 17 Sep 2008 19:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=73#comment-467</guid>
		<description>Don&#039;t confuse Python-the-language with the Python runtime. I guess you were probably using CPython, which is the (de-facto standard) Python interpreter written in C. You&#039;d probably also be interested in Jython, which will let you compile Python down to Java bytecode. &#039;Python&#039; isn&#039;t necessarily slow; a particular implementation may be.&lt;br&gt;&lt;br&gt;You don&#039;t give any specific examples of where you found CPython to be slow (for some definition of slow), but I&#039;d be interested to see sample code, benchmarks, and perhaps a run on Jython as well.&lt;br&gt;&lt;br&gt;I spend around 50% of my time in C# (whose tools have similar refactoring capabilities to IDEs such as Eclipse), and the rest in Python. While my development environment for Python (TextMate or emacs) certainly don&#039;t have refactoring tools like Visual Studio exposes (and I suspect whatever your chosen Java IDE is also does) I&#039;ve found that I simply don&#039;t need them; a search and replace answers 80% of the common cases. Can you give an example of a refactoring operation that you do with your Java tools that you missed with the Python tools?&lt;br&gt;&lt;br&gt;It&#039;s probably worth mentioning that Python does have high-quality IDEs (Wing springs to mind). These may offer refactoring tools.</description>
		<content:encoded><![CDATA[<p>Don&#39;t confuse Python-the-language with the Python runtime. I guess you were probably using CPython, which is the (de-facto standard) Python interpreter written in C. You&#39;d probably also be interested in Jython, which will let you compile Python down to Java bytecode. &#39;Python&#39; isn&#39;t necessarily slow; a particular implementation may be.</p>
<p>You don&#39;t give any specific examples of where you found CPython to be slow (for some definition of slow), but I&#39;d be interested to see sample code, benchmarks, and perhaps a run on Jython as well.</p>
<p>I spend around 50% of my time in C# (whose tools have similar refactoring capabilities to IDEs such as Eclipse), and the rest in Python. While my development environment for Python (TextMate or emacs) certainly don&#39;t have refactoring tools like Visual Studio exposes (and I suspect whatever your chosen Java IDE is also does) I&#39;ve found that I simply don&#39;t need them; a search and replace answers 80% of the common cases. Can you give an example of a refactoring operation that you do with your Java tools that you missed with the Python tools?</p>
<p>It&#39;s probably worth mentioning that Python does have high-quality IDEs (Wing springs to mind). These may offer refactoring tools.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.455 seconds -->
