<?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: The Met Office &#8216;climategate&#8217; Perl code</title>
	<atom:link href="http://shape-of-code.coding-guidelines.com/2009/12/25/the-met-office-climategate-perl-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://shape-of-code.coding-guidelines.com/2009/12/25/the-met-office-climategate-perl-code/</link>
	<description></description>
	<lastBuildDate>Sun, 12 Feb 2012 22:01:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Derek-Jones</title>
		<link>http://shape-of-code.coding-guidelines.com/2009/12/25/the-met-office-climategate-perl-code/comment-page-1/#comment-896</link>
		<dc:creator>Derek-Jones</dc:creator>
		<pubDate>Fri, 25 Dec 2009 22:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://shape-of-code.coding-guidelines.com/?p=164#comment-896</guid>
		<description>I think the code is comprehensible as written and somebody who knows a language other than Perl could probably figure out what is going on.  &lt;a href=\http://www.cpan.org/\ rel=\nofollow\ rel=&quot;nofollow&quot;&gt;CPAN&lt;/a&gt; does contain lots of useful modules but when writing relatively small amounts of code, unless the developer happens to be familiar with a module that solves the problem at hand it is generally less effort to to write the required code.  Not using CPAN modules also makes life simpler for non-PERL users who will not know about CPAN (&lt;a href=\http://noconsensus.wordpress.com/2009/12/24/cru-howto/\ rel=\nofollow\ rel=&quot;nofollow&quot;&gt;here is one&lt;/a&gt;).

The code does have a strong &lt;a href=\http://en.wikipedia.org/wiki/Imperative_programming\ rel=\nofollow\ rel=&quot;nofollow&quot;&gt;imperative&lt;/a&gt; feel to it.  I don&#039;t see this as being necessary or unnecessary, but then I am always less than impressed by the cryptic code much beloved of Perl aficionados.  I see no C or Java specific &#039;accent&#039;, but then 400 lines of code is the briefest of conversations.

Unless you have inside information the numbers in your second paragraph might just as well been delivered by Santa Claus.

The release of the data is obviously driven by a public relations agenda and the code might just have been tagged on as an after thought.  Perhaps a couple of Met Office web site developers had some spare time on their hands and decided to put something together.</description>
		<content:encoded><![CDATA[<p>I think the code is comprehensible as written and somebody who knows a language other than Perl could probably figure out what is going on.  <a href=\http://www.cpan.org/\ rel=\nofollow\ rel="nofollow">CPAN</a> does contain lots of useful modules but when writing relatively small amounts of code, unless the developer happens to be familiar with a module that solves the problem at hand it is generally less effort to to write the required code.  Not using CPAN modules also makes life simpler for non-PERL users who will not know about CPAN (<a href=\http://noconsensus.wordpress.com/2009/12/24/cru-howto/\ rel=\nofollow\ rel="nofollow">here is one</a>).</p>
<p>The code does have a strong <a href=\http://en.wikipedia.org/wiki/Imperative_programming\ rel=\nofollow\ rel="nofollow">imperative</a> feel to it.  I don&#8217;t see this as being necessary or unnecessary, but then I am always less than impressed by the cryptic code much beloved of Perl aficionados.  I see no C or Java specific &#8216;accent&#8217;, but then 400 lines of code is the briefest of conversations.</p>
<p>Unless you have inside information the numbers in your second paragraph might just as well been delivered by Santa Claus.</p>
<p>The release of the data is obviously driven by a public relations agenda and the code might just have been tagged on as an after thought.  Perhaps a couple of Met Office web site developers had some spare time on their hands and decided to put something together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Kinyon</title>
		<link>http://shape-of-code.coding-guidelines.com/2009/12/25/the-met-office-climategate-perl-code/comment-page-1/#comment-893</link>
		<dc:creator>Rob Kinyon</dc:creator>
		<pubDate>Fri, 25 Dec 2009 17:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://shape-of-code.coding-guidelines.com/?p=164#comment-893</guid>
		<description>The people who wrote these scripts may be &quot;fluent in Perl&quot; (whatever that means), but they are certainly no masters of the language, nor are they plugged into the general Perl community. There is no usage of CPAN modules (many of which would have made this code more comprehensible). There are several subtle bugs in the code and the code is unnecessarily imperative. While it may not be &quot;Fortran-accented&quot; (and I agree), it is definitely &quot;C-accented&quot;. (I would say &quot;Java-accented&quot;, but someone will argue that there aren&#039;t any objects.)

If I had to guess, this code was written by 3-5 developers who are conversant in several languages and prefer Java or C++ over most other languages (likely they have a large Java or .Net application to maintain and this is a side project). Someone decided that since this was manipulating text, Perl would be the best choice and everyone else just went along. The code has undergone at least 3 internal bugfix/upgrade cycles and possibly as many as 6+.

And, finally, this code isn&#039;t being released to the OSS community - it&#039;s being released as a political maneuver.

(Oh - Damian&#039;s anti-unless screed is almost completely disregarded by the Perl community at large, at least as judged by CPAN authors.)</description>
		<content:encoded><![CDATA[<p>The people who wrote these scripts may be &#8220;fluent in Perl&#8221; (whatever that means), but they are certainly no masters of the language, nor are they plugged into the general Perl community. There is no usage of CPAN modules (many of which would have made this code more comprehensible). There are several subtle bugs in the code and the code is unnecessarily imperative. While it may not be &#8220;Fortran-accented&#8221; (and I agree), it is definitely &#8220;C-accented&#8221;. (I would say &#8220;Java-accented&#8221;, but someone will argue that there aren&#8217;t any objects.)</p>
<p>If I had to guess, this code was written by 3-5 developers who are conversant in several languages and prefer Java or C++ over most other languages (likely they have a large Java or .Net application to maintain and this is a side project). Someone decided that since this was manipulating text, Perl would be the best choice and everyone else just went along. The code has undergone at least 3 internal bugfix/upgrade cycles and possibly as many as 6+.</p>
<p>And, finally, this code isn&#8217;t being released to the OSS community &#8211; it&#8217;s being released as a political maneuver.</p>
<p>(Oh &#8211; Damian&#8217;s anti-unless screed is almost completely disregarded by the Perl community at large, at least as judged by CPAN authors.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://shape-of-code.coding-guidelines.com/2009/12/25/the-met-office-climategate-perl-code/comment-page-1/#comment-892</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 25 Dec 2009 15:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://shape-of-code.coding-guidelines.com/?p=164#comment-892</guid>
		<description>Given that it was written in perl, it should have been rewritten as a one-liner.</description>
		<content:encoded><![CDATA[<p>Given that it was written in perl, it should have been rewritten as a one-liner.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

