<?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: API Design: Method parameter objects</title>
	<atom:link href="http://www.ericfeminella.com/blog/2008/01/12/quick-tips-api-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ericfeminella.com/blog/2008/01/12/quick-tips-api-design/</link>
	<description>Thoughts on Software Design and Development</description>
	<lastBuildDate>Sun, 08 Jan 2012 14:25:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark</title>
		<link>http://www.ericfeminella.com/blog/2008/01/12/quick-tips-api-design/comment-page-1/#comment-4875</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 01 Feb 2008 00:58:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericfeminella.com/blog/2008/01/12/quick-tips-api-design/#comment-4875</guid>
		<description>William: the parameters object is an instance of an actual  parameters class you created specifically for the method your creating it for. Your class will have strong typed properties so your values will still be type checked.

Eric: A great solution! I&#039;ve seen plenty of this going on with anonymous objects passed as parameters (AS3 Tweener class for example) but never as a concrete parameters class. I think i&#039;ll finally update some of my more unwieldy methods, thanks :)</description>
		<content:encoded><![CDATA[<p>William: the parameters object is an instance of an actual  parameters class you created specifically for the method your creating it for. Your class will have strong typed properties so your values will still be type checked.</p>
<p>Eric: A great solution! I&#8217;ve seen plenty of this going on with anonymous objects passed as parameters (AS3 Tweener class for example) but never as a concrete parameters class. I think i&#8217;ll finally update some of my more unwieldy methods, thanks <img src='http://www.ericfeminella.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William from Lagos</title>
		<link>http://www.ericfeminella.com/blog/2008/01/12/quick-tips-api-design/comment-page-1/#comment-3942</link>
		<dc:creator>William from Lagos</dc:creator>
		<pubDate>Sun, 13 Jan 2008 10:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericfeminella.com/blog/2008/01/12/quick-tips-api-design/#comment-3942</guid>
		<description>But how do we account for type checking at compile time. Suppose z in the params object is meant to be a string and not a number as passed, how do we guard against that?</description>
		<content:encoded><![CDATA[<p>But how do we account for type checking at compile time. Suppose z in the params object is meant to be a string and not a number as passed, how do we guard against that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

