<?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"
	>
<channel>
	<title>Comments on: Python, compilation and software quality</title>
	<atom:link href="http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/</link>
	<description>software development, technology, science and philosophy by Rémy Roy</description>
	<pubDate>Sun, 05 Feb 2012 06:59:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: shyzhayn</title>
		<link>http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/#comment-37631</link>
		<dc:creator>shyzhayn</dc:creator>
		<pubDate>Fri, 22 Jul 2011 11:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.remyroy.com/?p=202#comment-37631</guid>
		<description>yOZDyd  &lt;a href="http://hweetnaqxsiw.com/" rel="nofollow"&gt;hweetnaqxsiw&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>yOZDyd  <a href="http://hweetnaqxsiw.com/" rel="nofollow">hweetnaqxsiw</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whnrljjr</title>
		<link>http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/#comment-37569</link>
		<dc:creator>whnrljjr</dc:creator>
		<pubDate>Thu, 21 Jul 2011 11:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.remyroy.com/?p=202#comment-37569</guid>
		<description>h4ldEG  &lt;a href="http://iizvlcewkhno.com/" rel="nofollow"&gt;iizvlcewkhno&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>h4ldEG  <a href="http://iizvlcewkhno.com/" rel="nofollow">iizvlcewkhno</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Velvet</title>
		<link>http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/#comment-37516</link>
		<dc:creator>Velvet</dc:creator>
		<pubDate>Wed, 20 Jul 2011 13:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.remyroy.com/?p=202#comment-37516</guid>
		<description>You raelly saved my skin with this information. Thanks!</description>
		<content:encoded><![CDATA[<p>You raelly saved my skin with this information. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rémy Roy</title>
		<link>http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/#comment-3618</link>
		<dc:creator>Rémy Roy</dc:creator>
		<pubDate>Fri, 24 Oct 2008 02:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.remyroy.com/?p=202#comment-3618</guid>
		<description>My personal understanding is like what Paddy3118 said. Denying implicit conversion is the key point. I might be wrong though. Adding implicit conversion like you did for str might change it, but I am no expert.</description>
		<content:encoded><![CDATA[<p>My personal understanding is like what Paddy3118 said. Denying implicit conversion is the key point. I might be wrong though. Adding implicit conversion like you did for str might change it, but I am no expert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paddy3118</title>
		<link>http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/#comment-3608</link>
		<dc:creator>Paddy3118</dc:creator>
		<pubDate>Thu, 23 Oct 2008 18:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.remyroy.com/?p=202#comment-3608</guid>
		<description>Hi ale,
No it *is* right to say that Python is strongly typed. Strong typing just means that the language doesn't try and guess a type conversion for you between dissimilar types. One can, as you have shown, explicitly make conversions.

A weakly typed language would allow you to add the string "1" to the number 1 and return 2 for example.

What maybe different from what you are used to, is that types in Python are associated with values not with the names (variables) that can be associated with those values.

- Paddy.</description>
		<content:encoded><![CDATA[<p>Hi ale,<br />
No it *is* right to say that Python is strongly typed. Strong typing just means that the language doesn&#8217;t try and guess a type conversion for you between dissimilar types. One can, as you have shown, explicitly make conversions.</p>
<p>A weakly typed language would allow you to add the string &#8220;1&#8243; to the number 1 and return 2 for example.</p>
<p>What maybe different from what you are used to, is that types in Python are associated with values not with the names (variables) that can be associated with those values.</p>
<p>- Paddy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ale</title>
		<link>http://www.remyroy.com/2008/10/21/python-compilation-and-software-quality/#comment-3595</link>
		<dc:creator>ale</dc:creator>
		<pubDate>Thu, 23 Oct 2008 05:17:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.remyroy.com/?p=202#comment-3595</guid>
		<description>I think it is incorrect to say that python 'enforces a strong type system'.  All that the sample showed was that int doesn't know how to add itself to a string, nor that a string knows how to add itself to an int.

eg, if we make a subclass of the string class (str) and try that example again:

&#62;&#62;&#62; class String(str):
   ....:     def __radd__(self, other):
   ....:         return String(self + str(other))
   ....:     

&#62;&#62;&#62; 22 + String('22')
'2222'

Type system gone</description>
		<content:encoded><![CDATA[<p>I think it is incorrect to say that python &#8216;enforces a strong type system&#8217;.  All that the sample showed was that int doesn&#8217;t know how to add itself to a string, nor that a string knows how to add itself to an int.</p>
<p>eg, if we make a subclass of the string class (str) and try that example again:</p>
<p>&gt;&gt;&gt; class String(str):<br />
   &#8230;.:     def __radd__(self, other):<br />
   &#8230;.:         return String(self + str(other))<br />
   &#8230;.:     </p>
<p>&gt;&gt;&gt; 22 + String(&#8217;22&#8242;)<br />
&#8216;2222&#8242;</p>
<p>Type system gone</p>
]]></content:encoded>
	</item>
</channel>
</rss>

