<?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: Perl vs Python &#8211; The Final Battle</title>
	<atom:link href="http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/</link>
	<description>Innovation</description>
	<lastBuildDate>Sun, 25 Jul 2010 03:00:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-7590</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 12 Jun 2010 10:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-7590</guid>
		<description>@Ben

I&#039;m not very familiar with Bash. However, from my personal experience, I can cook up small apps quite fast in Perl, especially when dealing with text (well, that&#039;s what Perl is for).

What I&#039;d suggest is to pick up a Perl book, and try writing a few automating scripts in it. If you don&#039;t like Perl, move on to Python. But even if you stick to Perl, I&#039;d recommend getting familiar with Python eventually. This is because both Python and Perl are popular languages for automation tasks, especially in UNIX environments where they&#039;re pre-installed.</description>
		<content:encoded><![CDATA[<p>@Ben</p>
<p>I&#8217;m not very familiar with Bash. However, from my personal experience, I can cook up small apps quite fast in Perl, especially when dealing with text (well, that&#8217;s what Perl is for).</p>
<p>What I&#8217;d suggest is to pick up a Perl book, and try writing a few automating scripts in it. If you don&#8217;t like Perl, move on to Python. But even if you stick to Perl, I&#8217;d recommend getting familiar with Python eventually. This is because both Python and Perl are popular languages for automation tasks, especially in UNIX environments where they&#8217;re pre-installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-7521</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 08 Jun 2010 13:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-7521</guid>
		<description>Asking for more of an opinion than anything else, I&#039;m a confident Bash scripter looking for something a little more cross-platform and with a little more umph to it.

My initial thoughts are of Perl, it looks a bit like a Bash script, and it is widely touted that it has things like awk and sed built-in.

My main interests for scripting are in automating tasks within UNIX environments (predominately OS X and Solaris).

Out of Python and Perl, which would you advise me to learn (first)?</description>
		<content:encoded><![CDATA[<p>Asking for more of an opinion than anything else, I&#8217;m a confident Bash scripter looking for something a little more cross-platform and with a little more umph to it.</p>
<p>My initial thoughts are of Perl, it looks a bit like a Bash script, and it is widely touted that it has things like awk and sed built-in.</p>
<p>My main interests for scripting are in automating tasks within UNIX environments (predominately OS X and Solaris).</p>
<p>Out of Python and Perl, which would you advise me to learn (first)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Truman</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-7091</link>
		<dc:creator>Truman</dc:creator>
		<pubDate>Mon, 10 May 2010 10:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-7091</guid>
		<description>Hmm....to all ur opinions.

I think I can&#039;t do programming any more but still
do it for bread and butter. I am frustrated with my life thinking on how much to learn in this life? 

Okay! coming to the point....I like python but 
 with perl Moose, there is no challenge from any 
 language for perl for common applications. 
 
Python libraries are good but also annoy me  
with their narrow attitude. They appear to tell  
me like &quot;use this only this way, otherwise ..... This is only the best way to do it&quot;. But this is just my opinion.

Finally, I stopped learning python/PHP and am sticking to only perl. When it rains, I too will get a proper framework and elegance (perl 6). Also, my waiting paid me MOOSE like library. 

I am with perl for lifetime (another 30 years?) 
So, the summary is, whatever the language you choose, stick to life for it. Someone will improve it for u. Even old COBOL jobs are around. HAAHHAHAHAHHAHAHAHAHA

Cheers</description>
		<content:encoded><![CDATA[<p>Hmm&#8230;.to all ur opinions.</p>
<p>I think I can&#8217;t do programming any more but still<br />
do it for bread and butter. I am frustrated with my life thinking on how much to learn in this life? </p>
<p>Okay! coming to the point&#8230;.I like python but<br />
 with perl Moose, there is no challenge from any<br />
 language for perl for common applications. </p>
<p>Python libraries are good but also annoy me<br />
with their narrow attitude. They appear to tell<br />
me like &#8220;use this only this way, otherwise &#8230;.. This is only the best way to do it&#8221;. But this is just my opinion.</p>
<p>Finally, I stopped learning python/PHP and am sticking to only perl. When it rains, I too will get a proper framework and elegance (perl 6). Also, my waiting paid me MOOSE like library. </p>
<p>I am with perl for lifetime (another 30 years?)<br />
So, the summary is, whatever the language you choose, stick to life for it. Someone will improve it for u. Even old COBOL jobs are around. HAAHHAHAHAHHAHAHAHAHA</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dell</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-6998</link>
		<dc:creator>Dell</dc:creator>
		<pubDate>Sun, 02 May 2010 17:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-6998</guid>
		<description>From reading I like python and think it is a great language for a beginning programmer. I agree that if you can do regex then you can write perl. Now, you can use moose to complete OO and static typing for very large applications. Perl is extremely scalable and flexible. I am sometimes amazed at some of the things you can with Perl. At the end of the day I think that people who leave one language for another never really put in the time to learn or simply couldn&#039;t understand that language. People left C++ for Java but C++ and C still are one of the most popular languages in the world because people are productive in them. I can say if you are productive in Perl or python then write in that language.</description>
		<content:encoded><![CDATA[<p>From reading I like python and think it is a great language for a beginning programmer. I agree that if you can do regex then you can write perl. Now, you can use moose to complete OO and static typing for very large applications. Perl is extremely scalable and flexible. I am sometimes amazed at some of the things you can with Perl. At the end of the day I think that people who leave one language for another never really put in the time to learn or simply couldn&#8217;t understand that language. People left C++ for Java but C++ and C still are one of the most popular languages in the world because people are productive in them. I can say if you are productive in Perl or python then write in that language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smeezekitty</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-6957</link>
		<dc:creator>smeezekitty</dc:creator>
		<pubDate>Fri, 30 Apr 2010 03:49:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-6957</guid>
		<description>I like perl (but not more then C) and i HATE python.</description>
		<content:encoded><![CDATA[<p>I like perl (but not more then C) and i HATE python.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JChG</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-6799</link>
		<dc:creator>JChG</dc:creator>
		<pubDate>Tue, 20 Apr 2010 22:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-6799</guid>
		<description>I think you are missing the forest for the scrubbrush!-)  Both languages have largely typeless variables and can do odd things.  What does  is one*two in Python?  Depends on what was last assigned to one and two.  What is $one*$two in Perl?  Well it&#039;s a number which can be treated as a string in string context...

The big differences are that Perl (used to) flatten lists and not treat them as basic datum, and pass copies into subroutines.  They tried to use globs to pass by reference, and eventually succumbed to tacking on a full ref/deref syntax.  Python uses references from the get-go and passes by reference into functions.  This makes it easier to construct nested data structures in Python, but you must constantly watch for the reference, shallow copy, deep copy issues.</description>
		<content:encoded><![CDATA[<p>I think you are missing the forest for the scrubbrush!-)  Both languages have largely typeless variables and can do odd things.  What does  is one*two in Python?  Depends on what was last assigned to one and two.  What is $one*$two in Perl?  Well it&#8217;s a number which can be treated as a string in string context&#8230;</p>
<p>The big differences are that Perl (used to) flatten lists and not treat them as basic datum, and pass copies into subroutines.  They tried to use globs to pass by reference, and eventually succumbed to tacking on a full ref/deref syntax.  Python uses references from the get-go and passes by reference into functions.  This makes it easier to construct nested data structures in Python, but you must constantly watch for the reference, shallow copy, deep copy issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-5288</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 03 Mar 2010 02:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-5288</guid>
		<description>@Jeff

You&#039;re right. Python is indeed elegant.

Personally for me, Perl is great for some small scripts doing quick tasks. I use Python for anything &quot;larger.&quot;

Another good point you mentioned is about the bad way in which scripts turn into applications. Many people think that an application is &quot;many scripts put together.&quot; However, that&#039;s wrong.

I understand your frustration, because many people putting their code online don&#039;t write it the way it should have been written. It&#039;s a total mess to read them.

At the end of the day, one thing&#039;s clear. Keeping all the specific languages aside, writing well structured applications is an art in itself.

And one more thing, thanks for the comment!</description>
		<content:encoded><![CDATA[<p>@Jeff</p>
<p>You&#8217;re right. Python is indeed elegant.</p>
<p>Personally for me, Perl is great for some small scripts doing quick tasks. I use Python for anything &#8220;larger.&#8221;</p>
<p>Another good point you mentioned is about the bad way in which scripts turn into applications. Many people think that an application is &#8220;many scripts put together.&#8221; However, that&#8217;s wrong.</p>
<p>I understand your frustration, because many people putting their code online don&#8217;t write it the way it should have been written. It&#8217;s a total mess to read them.</p>
<p>At the end of the day, one thing&#8217;s clear. Keeping all the specific languages aside, writing well structured applications is an art in itself.</p>
<p>And one more thing, thanks for the comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-5260</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 02 Mar 2010 17:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-5260</guid>
		<description>5 years ago I got sick of Perl, looked for a new language, and settled on Python. In hindsight it was definitely the right decision.

Python has one fundamental data type; object. Everything else is a subclass of object. Variables can only hold references to objects. 

The inability to contact a string with an int is a property of the string and int classes, not a property of the core language. If you actually WANT to be able to concat strings and ints you can easily do it by subclassing string and int and overloading the + operator so that it does the conversion automatically. But that wouldn&#039;t be very pythonic; one of the design goals of python is to be powerful without resorting to &quot;magic&quot;.

One of the things about perl that pissed me off was never really knowing what was actually IN a scalar; is it a string? a number? a reference to a box with rocks in it? Maybe all three depending on whatever unintuitive implicit rules perl decides to apply to it depending on context. Ruby does the same stuff, drives me nuts. It&#039;s fine for scripts, terrible for applications, and scripts have a bad way of turning into applications. &quot;Every program attempts to expand until it can read mail.&quot; -- Jamie Zawinski</description>
		<content:encoded><![CDATA[<p>5 years ago I got sick of Perl, looked for a new language, and settled on Python. In hindsight it was definitely the right decision.</p>
<p>Python has one fundamental data type; object. Everything else is a subclass of object. Variables can only hold references to objects. </p>
<p>The inability to contact a string with an int is a property of the string and int classes, not a property of the core language. If you actually WANT to be able to concat strings and ints you can easily do it by subclassing string and int and overloading the + operator so that it does the conversion automatically. But that wouldn&#8217;t be very pythonic; one of the design goals of python is to be powerful without resorting to &#8220;magic&#8221;.</p>
<p>One of the things about perl that pissed me off was never really knowing what was actually IN a scalar; is it a string? a number? a reference to a box with rocks in it? Maybe all three depending on whatever unintuitive implicit rules perl decides to apply to it depending on context. Ruby does the same stuff, drives me nuts. It&#8217;s fine for scripts, terrible for applications, and scripts have a bad way of turning into applications. &#8220;Every program attempts to expand until it can read mail.&#8221; &#8212; Jamie Zawinski</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-4559</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 28 Jan 2010 13:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-4559</guid>
		<description>@Jim

You&#039;re right about the boss part. Some people only have a narrow knowledge about doing certain tasks, and normally don&#039;t prefer any other methods of accomplishing it.

I actually learned Python first, and then Perl because it was also a popularly used language (regardless of what online newbies suggest).

Well, now that we&#039;re talking about Python, I&#039;m eagerly waiting for all those libraries and tools like iPython to be compatible with Python 3.</description>
		<content:encoded><![CDATA[<p>@Jim</p>
<p>You&#8217;re right about the boss part. Some people only have a narrow knowledge about doing certain tasks, and normally don&#8217;t prefer any other methods of accomplishing it.</p>
<p>I actually learned Python first, and then Perl because it was also a popularly used language (regardless of what online newbies suggest).</p>
<p>Well, now that we&#8217;re talking about Python, I&#8217;m eagerly waiting for all those libraries and tools like iPython to be compatible with Python 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/comment-page-1/#comment-4538</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.revolves.net/?p=264#comment-4538</guid>
		<description>Great article. I prefer Python personally. However it seems like in an industrial setting, Perl is taken more seriously.  If you tell your boss you wrote a Python script to automate a task, he is like, &quot;huh?&quot;.  If you say you wrote a Perl script, then it seems to be taken more seriously.  From my own experience, I agree with you; you need to know how to program in both.</description>
		<content:encoded><![CDATA[<p>Great article. I prefer Python personally. However it seems like in an industrial setting, Perl is taken more seriously.  If you tell your boss you wrote a Python script to automate a task, he is like, &#8220;huh?&#8221;.  If you say you wrote a Perl script, then it seems to be taken more seriously.  From my own experience, I agree with you; you need to know how to program in both.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

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