<?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: Using helper scripts to make bioinformatics analysis easier to maintain</title>
	<atom:link href="http://www.bioinformaticszen.com/2008/02/bioinformatics-helper-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bioinformaticszen.com/2008/02/bioinformatics-helper-scripts/</link>
	<description></description>
	<pubDate>Sun, 07 Sep 2008 02:56:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Max</title>
		<link>http://www.bioinformaticszen.com/2008/02/bioinformatics-helper-scripts/#comment-12086</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 03 Mar 2008 18:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioinformaticszen.com/2008/02/bioinformatics-helper-scripts/#comment-12086</guid>
		<description>Are you're talking about the use of a library for common stuff? I might have misunderstood, but is there anything more basic in programming than regrouping your common stuff in your own lib/ dir ? I guess anyone who is programming more than a couple of lines per week will use a directory with common functions he or she is using all the time, they will grow and grow by the time...</description>
		<content:encoded><![CDATA[<p>Are you&#8217;re talking about the use of a library for common stuff? I might have misunderstood, but is there anything more basic in programming than regrouping your common stuff in your own lib/ dir ? I guess anyone who is programming more than a couple of lines per week will use a directory with common functions he or she is using all the time, they will grow and grow by the time&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Lasher</title>
		<link>http://www.bioinformaticszen.com/2008/02/bioinformatics-helper-scripts/#comment-12005</link>
		<dc:creator>Chris Lasher</dc:creator>
		<pubDate>Sun, 02 Mar 2008 23:36:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioinformaticszen.com/2008/02/bioinformatics-helper-scripts/#comment-12005</guid>
		<description>Andrew Hunt and Dave Thomas covered this well in The Pragmatic Programmer chapter on the "DRY (Don't Repeat Yourself) Principle". Anytime I repeat a single line of code, my Spidey-sense tingles and I think of how I can place it into a common area. Need to repeat a for-loop? Make it a function/method. Need to repeat a function/method? Put it in a module/mixin class. Need to repeat a module/class? Make a package/library.

I'm not sure if you experience this, but in my experience, scripts intended as "one-offs" have a habit of staying around. Cutting and pasting between them creates crufty, brittle code. Each successive time I touch that "one-off" I make sure the code becomes more tidy when I leave it than when I open it. This way, it incrementally develops into a full-fledged module or program appropriately.

And, of course, if I plan to publish the result, making sure that script has unit/functional tests is a Really Good Idea.</description>
		<content:encoded><![CDATA[<p>Andrew Hunt and Dave Thomas covered this well in The Pragmatic Programmer chapter on the &#8220;DRY (Don&#8217;t Repeat Yourself) Principle&#8221;. Anytime I repeat a single line of code, my Spidey-sense tingles and I think of how I can place it into a common area. Need to repeat a for-loop? Make it a function/method. Need to repeat a function/method? Put it in a module/mixin class. Need to repeat a module/class? Make a package/library.</p>
<p>I&#8217;m not sure if you experience this, but in my experience, scripts intended as &#8220;one-offs&#8221; have a habit of staying around. Cutting and pasting between them creates crufty, brittle code. Each successive time I touch that &#8220;one-off&#8221; I make sure the code becomes more tidy when I leave it than when I open it. This way, it incrementally develops into a full-fledged module or program appropriately.</p>
<p>And, of course, if I plan to publish the result, making sure that script has unit/functional tests is a Really Good Idea.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

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