<?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 for Ash Searle's Blog</title>
	<atom:link href="http://hexmen.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://hexmen.com/blog</link>
	<description>On programming, and other things...</description>
	<lastBuildDate>Mon, 15 Mar 2010 23:47:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Tweaking PNG transparency with&#160;ImageMagick by Ilya</title>
		<link>http://hexmen.com/blog/2008/07/tweaking-png-transparency-with-imagemagick/comment-page-1/#comment-31449</link>
		<dc:creator>Ilya</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://hexmen.com/blog/?p=54#comment-31449</guid>
		<description>Big thx for the tip ;-)</description>
		<content:encoded><![CDATA[<p>Big thx for the tip <img src='http://hexmen.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on All-in-one cookie&#160;function by Tim Down</title>
		<link>http://hexmen.com/blog/2009/03/all-in-one-cookie-function/comment-page-1/#comment-31448</link>
		<dc:creator>Tim Down</dc:creator>
		<pubDate>Sun, 24 Jan 2010 13:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://hexmen.com/blog/?p=75#comment-31448</guid>
		<description>OK, I see now.

I am constantly frustrated when designing APIs in JavaScript that lend themselves naturally to the kind of overloading you can do in languages like Java or C#. The options are:

1. Write several functions with slightly different names to deal with all the possibilities. Pros: clean to implement. Cons: bloats the API, hard to use.

2. One function with overloading. Pros: quite simple to use. Cons: still requires remembering/looking up combinations of arguments that may be passed, and requires code in the implementation to check number and types of the arguments.

3. One function that accepts a single object whose properties are just the arguments the caller requires. Pros: easy to use, flexible. Cons: requires extra code in the implementation to check properties of the object passed in, introduces possibility of error by mistyping property names in the calling code.</description>
		<content:encoded><![CDATA[<p>OK, I see now.</p>
<p>I am constantly frustrated when designing APIs in JavaScript that lend themselves naturally to the kind of overloading you can do in languages like Java or C#. The options are:</p>
<p>1. Write several functions with slightly different names to deal with all the possibilities. Pros: clean to implement. Cons: bloats the API, hard to use.</p>
<p>2. One function with overloading. Pros: quite simple to use. Cons: still requires remembering/looking up combinations of arguments that may be passed, and requires code in the implementation to check number and types of the arguments.</p>
<p>3. One function that accepts a single object whose properties are just the arguments the caller requires. Pros: easy to use, flexible. Cons: requires extra code in the implementation to check properties of the object passed in, introduces possibility of error by mistyping property names in the calling code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL latin1 → utf8 (Wordpress&#160;upgrade) by hemfoumpVuple</title>
		<link>http://hexmen.com/blog/2008/07/mysql-latin1-utf8-wordpress-upgrade/comment-page-1/#comment-31447</link>
		<dc:creator>hemfoumpVuple</dc:creator>
		<pubDate>Tue, 12 Jan 2010 03:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://hexmen.com/blog/?p=48#comment-31447</guid>
		<description>Hi, looking for &lt;a href=&quot;http://netsuite-consulting.blogspot.com&quot; rel=&quot;nofollow&quot;&gt;Netsuite Consultant&lt;/a&gt; here!</description>
		<content:encoded><![CDATA[<p>Hi, looking for <a href="http://netsuite-consulting.blogspot.com" rel="nofollow">Netsuite Consultant</a> here!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on All-in-one cookie&#160;function by Ash</title>
		<link>http://hexmen.com/blog/2009/03/all-in-one-cookie-function/comment-page-1/#comment-31446</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Tue, 05 Jan 2010 08:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://hexmen.com/blog/?p=75#comment-31446</guid>
		<description>@Tim,

I was stating a preference in response to your comment &quot;overloading can lead to code that performs brittle type checks.&quot;

I certainly didn&#039;t mean to imply setter/getter pairs require more parameters than accessor methods.

Ash</description>
		<content:encoded><![CDATA[<p>@Tim,</p>
<p>I was stating a preference in response to your comment &#8220;overloading can lead to code that performs brittle type checks.&#8221;</p>
<p>I certainly didn&#8217;t mean to imply setter/getter pairs require more parameters than accessor methods.</p>
<p>Ash</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on All-in-one cookie&#160;function by Tim Down</title>
		<link>http://hexmen.com/blog/2009/03/all-in-one-cookie-function/comment-page-1/#comment-31445</link>
		<dc:creator>Tim Down</dc:creator>
		<pubDate>Tue, 05 Jan 2010 01:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://hexmen.com/blog/?p=75#comment-31445</guid>
		<description>Ash,

Obviously a lot of this is down to personal taste, and I have vacillated about overloading myself, coming down mostly on the side of avoiding it, though not religiously. I&#039;m probably being thick but I think I&#039;m missing your point - why would having separate setCookie and getCookie functions mean needing to supply more parameters?

Tim</description>
		<content:encoded><![CDATA[<p>Ash,</p>
<p>Obviously a lot of this is down to personal taste, and I have vacillated about overloading myself, coming down mostly on the side of avoiding it, though not religiously. I&#8217;m probably being thick but I think I&#8217;m missing your point &#8211; why would having separate setCookie and getCookie functions mean needing to supply more parameters?</p>
<p>Tim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
