<?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: Duck hyping and Ruby</title>
	<atom:link href="http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/</link>
	<description>Python, Dynamic and Declarative Languages, Object Oriented Software Developement</description>
	<pubDate>Sat, 22 Nov 2008 08:38:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Enrico Franchi</title>
		<link>http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2789</link>
		<dc:creator>Enrico Franchi</dc:creator>
		<pubDate>Wed, 14 Mar 2007 19:55:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2789</guid>
		<description>I suppose I haven't been clear enough. In fact we are kind of saying similar things (unless I didn't really get what you meant).

I hope we agree that 'semantically' Python and Ruby are quite similar. They have a strong syntactical difference (Python is much more disciplined, and some operations have a neater syntax in Ruby -- or vice versa). I was wondering how this syntactical differences influenced the pragmatic (that is to say the way we use the language).

My example is that although both languages allow to add methods dynamically to classes and to objects, this is done *very* often in Ruby (and Ruby has a neat syntax to do it), while in Python it is seldom done.

And I agree in what you say about the community. The Ruby community is great and is very good at marketing Ruby. I mean, everybody knew that MacOS X Leopard would include Rails and RubyCocoa. However, almost nobody knew it also includes PyObjC and Twisted (that is used in a new Apple application). (of course these are rumors -- as far as I know --).

Names are of course a good way to sell things. And guys like Hansson are perfect to create hype. For example picture like [http://www.flickr.com/photos/eugevon/130610241/ this]... I mean here he's not talking like a techie, but rather like a cool director or something like that.

However, I suppose there must be *more* than community. Otherwise it means that you don't really need to create a good language with good libraries. Tomorrow I don't want to be using a language because something got the idea to pretend some particularly sexy chicks created a very cool language...</description>
		<content:encoded><![CDATA[<p>I suppose I haven&#8217;t been clear enough. In fact we are kind of saying similar things (unless I didn&#8217;t really get what you meant).</p>
<p>I hope we agree that &#8217;semantically&#8217; Python and Ruby are quite similar. They have a strong syntactical difference (Python is much more disciplined, and some operations have a neater syntax in Ruby &#8212; or vice versa). I was wondering how this syntactical differences influenced the pragmatic (that is to say the way we use the language).</p>
<p>My example is that although both languages allow to add methods dynamically to classes and to objects, this is done *very* often in Ruby (and Ruby has a neat syntax to do it), while in Python it is seldom done.</p>
<p>And I agree in what you say about the community. The Ruby community is great and is very good at marketing Ruby. I mean, everybody knew that MacOS X Leopard would include Rails and RubyCocoa. However, almost nobody knew it also includes PyObjC and Twisted (that is used in a new Apple application). (of course these are rumors &#8212; as far as I know &#8211;).</p>
<p>Names are of course a good way to sell things. And guys like Hansson are perfect to create hype. For example picture like [http://www.flickr.com/photos/eugevon/130610241/ this]&#8230; I mean here he&#8217;s not talking like a techie, but rather like a cool director or something like that.</p>
<p>However, I suppose there must be *more* than community. Otherwise it means that you don&#8217;t really need to create a good language with good libraries. Tomorrow I don&#8217;t want to be using a language because something got the idea to pretend some particularly sexy chicks created a very cool language&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: el raichu</title>
		<link>http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2778</link>
		<dc:creator>el raichu</dc:creator>
		<pubDate>Wed, 14 Mar 2007 11:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2778</guid>
		<description>well, i have to disagree on the point that the difference is not just in syntax.  in my opinion, the adoption of a programming language is more of a sociological phenomenon than an engineering one.  


for instance, take the issue of python's &lt;a href="http://www.artima.com/forums/flat.jsp?forum=106&#38;thread=147358" rel="nofollow"&gt;anonymous functions&lt;/a&gt; (http://www.artima.com/forums/flat.jsp?forum=106&#38;thread=147358).  python's bdfl considers the multi-line lambda unpythonic.  now, unpythonic is not a programming issue; plenty of programmers all over the world use multi-line lambdas all the time.  instead, being "unpythonic" is penalized &lt;strong&gt;socially&lt;/strong&gt;; the python community discourages such steps in the language because they somehow feel that the simplicity of their language is more important than the multi-line lambda. 


or take the &lt;a href="http://c2.com/cgi/wiki?SocialProblemsOfLisp" rel="nofollow"&gt;social problems of lisp (http://c2.com/cgi/wiki?SocialProblemsOfLisp).  the lisp community appears unapproachable, especially when the supposed "elders" of the community, who should be taking care of the newbies, give them &lt;a href="http://social-problems-of-lisp.blogspot.com/2006/06/pascal-bourguignon-come-on-down.html" rel="nofollow"&gt;trojans instead&lt;/a&gt; (http://social-problems-of-lisp.blogspot.com/2006/06/pascal-bourguignon-come-on-down.html).


 
why are people drawn to ruby?  i bet that, for many people, it's not the language, it's the community.  how many languages do you know have guys on board with weird names like &lt;a href="http://whytheluckystiff.net" rel="nofollow"&gt; why the lucky stiff (all praise the chunky bacon)&lt;/a&gt; (http://whytheluckystiff.net)?  the wackiness is definitely part of the appeal; the duck typing less so.
</description>
		<content:encoded><![CDATA[<p>well, i have to disagree on the point that the difference is not just in syntax.  in my opinion, the adoption of a programming language is more of a sociological phenomenon than an engineering one.  </p>
<p>for instance, take the issue of python&#8217;s <a href="http://www.artima.com/forums/flat.jsp?forum=106&amp;thread=147358" rel="nofollow">anonymous functions</a> (http://www.artima.com/forums/flat.jsp?forum=106&amp;thread=147358).  python&#8217;s bdfl considers the multi-line lambda unpythonic.  now, unpythonic is not a programming issue; plenty of programmers all over the world use multi-line lambdas all the time.  instead, being &#8220;unpythonic&#8221; is penalized <strong>socially</strong>; the python community discourages such steps in the language because they somehow feel that the simplicity of their language is more important than the multi-line lambda. </p>
<p>or take the <a href="http://c2.com/cgi/wiki?SocialProblemsOfLisp" rel="nofollow">social problems of lisp (http://c2.com/cgi/wiki?SocialProblemsOfLisp).  the lisp community appears unapproachable, especially when the supposed &#8220;elders&#8221; of the community, who should be taking care of the newbies, give them </a><a href="http://social-problems-of-lisp.blogspot.com/2006/06/pascal-bourguignon-come-on-down.html" rel="nofollow">trojans instead</a> (http://social-problems-of-lisp.blogspot.com/2006/06/pascal-bourguignon-come-on-down.html).</p>
<p>why are people drawn to ruby?  i bet that, for many people, it&#8217;s not the language, it&#8217;s the community.  how many languages do you know have guys on board with weird names like <a href="http://whytheluckystiff.net" rel="nofollow"> why the lucky stiff (all praise the chunky bacon)</a> (http://whytheluckystiff.net)?  the wackiness is definitely part of the appeal; the duck typing less so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enrico Franchi</title>
		<link>http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2777</link>
		<dc:creator>Enrico Franchi</dc:creator>
		<pubDate>Wed, 14 Mar 2007 10:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2777</guid>
		<description>Thank you. In fact I used Perl *before* Python.
However, I just agree with most Python principles (that is to say I disagree with the corresponding Perl ones). That means that Perl pragmatic and philosophy does not appeal me. 

Regarding 'duck typing' I suppose Alex was the first one to use the metaphor to describe the Python typing habits. But everybody knows about Dave, nobody about Alex. 

About the mindset: in fact Python has been around for quite a lot of time. And it's popularity grew constantly (and is still growing). Of course it changed the minds of those who used it. It influenced Ruby itself, other languages and programmers that are not strictly part of the Python community.

However, it was not well known outside the 'unix open source community'. The popularity among programmers is quite good, but in the IT world it is not well known. I mean, in my country there has been only *one* translated Python book for years.

Moreover a lot of people who knew something about Python were likely to criticize the language because it is dynamically typed. And 'true languages' are statically typed. And because it is a 'scripting language'. And because 'Java is the Way'.

Now a lot of the same people are interested in Ruby. This is something that I feel quite strange. I think it's unlikely that you dislike Python telling it's a 'scripting language' and you like Ruby. That is the point of my question.</description>
		<content:encoded><![CDATA[<p>Thank you. In fact I used Perl *before* Python.<br />
However, I just agree with most Python principles (that is to say I disagree with the corresponding Perl ones). That means that Perl pragmatic and philosophy does not appeal me. </p>
<p>Regarding &#8216;duck typing&#8217; I suppose Alex was the first one to use the metaphor to describe the Python typing habits. But everybody knows about Dave, nobody about Alex. </p>
<p>About the mindset: in fact Python has been around for quite a lot of time. And it&#8217;s popularity grew constantly (and is still growing). Of course it changed the minds of those who used it. It influenced Ruby itself, other languages and programmers that are not strictly part of the Python community.</p>
<p>However, it was not well known outside the &#8216;unix open source community&#8217;. The popularity among programmers is quite good, but in the IT world it is not well known. I mean, in my country there has been only *one* translated Python book for years.</p>
<p>Moreover a lot of people who knew something about Python were likely to criticize the language because it is dynamically typed. And &#8216;true languages&#8217; are statically typed. And because it is a &#8217;scripting language&#8217;. And because &#8216;Java is the Way&#8217;.</p>
<p>Now a lot of the same people are interested in Ruby. This is something that I feel quite strange. I think it&#8217;s unlikely that you dislike Python telling it&#8217;s a &#8217;scripting language&#8217; and you like Ruby. That is the point of my question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: riffraff</title>
		<link>http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2758</link>
		<dc:creator>riffraff</dc:creator>
		<pubDate>Tue, 13 Mar 2007 22:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.akropolix.net/rik0/blogs/2007/03/13/duck-hyping-and-ruby/#comment-2758</guid>
		<description>good post, and I 99% agree (even if I _do_ like both perl and python :).
Where I disagree is in that python didn't influence the way people are thinking. 
In my opinion, python did it, it's just that now we take this new mindset for granted.

As for the duck typing thing.. I remember that this exact expression was attributed to dave thomas, but coined offline, the "if it walks like a duck it is a duck" thing is old english saying.
 
But otoh Dave knew python and Smalltalk before ruby, afaik..</description>
		<content:encoded><![CDATA[<p>good post, and I 99% agree (even if I _do_ like both perl and python :).<br />
Where I disagree is in that python didn&#8217;t influence the way people are thinking.<br />
In my opinion, python did it, it&#8217;s just that now we take this new mindset for granted.</p>
<p>As for the duck typing thing.. I remember that this exact expression was attributed to dave thomas, but coined offline, the &#8220;if it walks like a duck it is a duck&#8221; thing is old english saying.</p>
<p>But otoh Dave knew python and Smalltalk before ruby, afaik..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
