<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Python &amp; Java: A Side-by-Side Comparison</title>
	<atom:link href="http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/feed/" rel="self" type="application/rss+xml" />
	<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/</link>
	<description>Adventures across space and time with the Python programming language</description>
	<lastBuildDate>Sat, 04 May 2013 20:54:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: C. Timmerman</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2906</link>
		<dc:creator><![CDATA[C. Timmerman]]></dc:creator>
		<pubDate>Sat, 04 May 2013 20:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2906</guid>
		<description><![CDATA[Jython is also an option, but you can easily (ctypes, Cython, SWIG, etc.) extend CPython with the exact data models you&#039;d like, e.g. https://pypi.python.org/pypi/bintrees/0.3.0 

On Wed, May 1, 2013 at 12:50 PM, Python Conquers The Universe  wrote: 

&gt; ** &gt;   commented: &quot;There is nothing like that in Java. You might want to look &gt; into Scala instead. It is Java compatible, has the STL-like programming and &gt; even more. When it comes to data structures I do see one weakness in python &gt; when compared with Java: you cannot choose y&quot; &gt;]]></description>
		<content:encoded><![CDATA[<p>Jython is also an option, but you can easily (ctypes, Cython, SWIG, etc.) extend CPython with the exact data models you&#8217;d like, e.g. <a href="https://pypi.python.org/pypi/bintrees/0.3.0" rel="nofollow">https://pypi.python.org/pypi/bintrees/0.3.0</a> </p>
<p>On Wed, May 1, 2013 at 12:50 PM, Python Conquers The Universe  wrote: </p>
<p>&gt; ** &gt;   commented: &#8220;There is nothing like that in Java. You might want to look &gt; into Scala instead. It is Java compatible, has the STL-like programming and &gt; even more. When it comes to data structures I do see one weakness in python &gt; when compared with Java: you cannot choose y&#8221; &gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2899</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Wed, 01 May 2013 10:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2899</guid>
		<description><![CDATA[There is nothing like that in Java. You might want to look into Scala instead. It is Java compatible, has the STL-like programming and even more. When it comes to data structures I do see one weakness in python when compared with Java: you cannot choose your data structure implementation.

In Java when you do something like &quot;SortedMap m = new TreeMap()&quot; you know you are using a tree, which is actually a red-black tree. You can also choose a HashMap and so on. In python you only have one choice, the dictionary. How is python dictionary implemented? I don&#039;t know but it seem to be an open hash table.

If you want to go with JVM, Scala goes one step further, you can choose your data structure implementation, has STL-like programming, supports functional programming, etc. I see it kind of like a fusion between Java and Python and some functional languages. You might want to look into Clojure also, although that&#039;s a functional language.]]></description>
		<content:encoded><![CDATA[<p>There is nothing like that in Java. You might want to look into Scala instead. It is Java compatible, has the STL-like programming and even more. When it comes to data structures I do see one weakness in python when compared with Java: you cannot choose your data structure implementation.</p>
<p>In Java when you do something like &#8220;SortedMap m = new TreeMap()&#8221; you know you are using a tree, which is actually a red-black tree. You can also choose a HashMap and so on. In python you only have one choice, the dictionary. How is python dictionary implemented? I don&#8217;t know but it seem to be an open hash table.</p>
<p>If you want to go with JVM, Scala goes one step further, you can choose your data structure implementation, has STL-like programming, supports functional programming, etc. I see it kind of like a fusion between Java and Python and some functional languages. You might want to look into Clojure also, although that&#8217;s a functional language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Polk</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2898</link>
		<dc:creator><![CDATA[Igor Polk]]></dc:creator>
		<pubDate>Tue, 30 Apr 2013 20:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2898</guid>
		<description><![CDATA[I know Java very little and I do not know Python ( which I am looking at right now as a free alternative to C# ). I immediatelly feel from where the power of python comes - STL-like programming style on collections. Long ago I have got to work with STL and was totally blown by its incredible power. ( STL is an extension of C++ ). Is there something like that in Java? Which language is going to win eventually? ( Besiges unbreakable C++ place under the sun ) The one which realises STL-like  programming. Period.]]></description>
		<content:encoded><![CDATA[<p>I know Java very little and I do not know Python ( which I am looking at right now as a free alternative to C# ). I immediatelly feel from where the power of python comes &#8211; STL-like programming style on collections. Long ago I have got to work with STL and was totally blown by its incredible power. ( STL is an extension of C++ ). Is there something like that in Java? Which language is going to win eventually? ( Besiges unbreakable C++ place under the sun ) The one which realises STL-like  programming. Period.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2894</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Thu, 25 Apr 2013 06:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2894</guid>
		<description><![CDATA[No matter if you like the examples or not, python is used in large applications, like Dropbox client and all server applications.]]></description>
		<content:encoded><![CDATA[<p>No matter if you like the examples or not, python is used in large applications, like Dropbox client and all server applications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2890</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Wed, 17 Apr 2013 19:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2890</guid>
		<description><![CDATA[Comments are longer than post, then Java is better]]></description>
		<content:encoded><![CDATA[<p>Comments are longer than post, then Java is better</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2846</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Wed, 20 Feb 2013 18:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2846</guid>
		<description><![CDATA[If you cannot write proper english, you will have a lot more difficult writing in a formal language like python or java.]]></description>
		<content:encoded><![CDATA[<p>If you cannot write proper english, you will have a lot more difficult writing in a formal language like python or java.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2845</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Wed, 20 Feb 2013 18:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2845</guid>
		<description><![CDATA[vi... I use emacs

http://xkcd.com/378/]]></description>
		<content:encoded><![CDATA[<p>vi&#8230; I use emacs</p>
<p><a href="http://xkcd.com/378/" rel="nofollow">http://xkcd.com/378/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2717</link>
		<dc:creator><![CDATA[Joseph]]></dc:creator>
		<pubDate>Fri, 01 Feb 2013 05:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2717</guid>
		<description><![CDATA[Since everyone above is saying that Eclipse saves Java programmers from a lot of these problems, I&#039;ll use the same defense for python. Python has libraries like pyLint and pyChecker that IDEs can use. For instance, in the example above, if you typed fooo=7 the IDE (such as Eric5)  would periodically check the code in real time and then flag that line with a warning like &quot;Variable initialized but never used&quot;. Do something like &quot;x = fooo + 3&quot; and it&#039;ll warn you with &quot;Variable used but never initialized&quot;, etc.]]></description>
		<content:encoded><![CDATA[<p>Since everyone above is saying that Eclipse saves Java programmers from a lot of these problems, I&#8217;ll use the same defense for python. Python has libraries like pyLint and pyChecker that IDEs can use. For instance, in the example above, if you typed fooo=7 the IDE (such as Eric5)  would periodically check the code in real time and then flag that line with a warning like &#8220;Variable initialized but never used&#8221;. Do something like &#8220;x = fooo + 3&#8243; and it&#8217;ll warn you with &#8220;Variable used but never initialized&#8221;, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edwin</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2705</link>
		<dc:creator><![CDATA[Edwin]]></dc:creator>
		<pubDate>Thu, 31 Jan 2013 13:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2705</guid>
		<description><![CDATA[You clearly have not counted in bicycle addicted like me... With which I do not want to state that I would not consider to stretch the application of Phyton a bit to see how far it will go. Or are you suggesting the car being the metaphor for Phyton? ;-) Of course in this case the metaphor is a bit off too as we are using Phyton (Django front end) and Java (with rest interfaces) in the same project. ;-)]]></description>
		<content:encoded><![CDATA[<p>You clearly have not counted in bicycle addicted like me&#8230; With which I do not want to state that I would not consider to stretch the application of Phyton a bit to see how far it will go. Or are you suggesting the car being the metaphor for Phyton? <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Of course in this case the metaphor is a bit off too as we are using Phyton (Django front end) and Java (with rest interfaces) in the same project. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Meurer</title>
		<link>http://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/#comment-2650</link>
		<dc:creator><![CDATA[Aaron Meurer]]></dc:creator>
		<pubDate>Mon, 28 Jan 2013 05:56:33 +0000</pubDate>
		<guid isPermaLink="false">http://pythonconquerstheuniverse.wordpress.com/?p=151#comment-2650</guid>
		<description><![CDATA[I know that you are aiming to make the code examples comparable, but do you have to use camelCase in Python?  The Python conventions call to use underscores for variable and function names, and CamelCase only for class names (and camelCase where the first letter is lowercase nowhere).]]></description>
		<content:encoded><![CDATA[<p>I know that you are aiming to make the code examples comparable, but do you have to use camelCase in Python?  The Python conventions call to use underscores for variable and function names, and CamelCase only for class names (and camelCase where the first letter is lowercase nowhere).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
