<?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 X++ way to getters and setters</title>
	<atom:link href="http://sysdictcoder.com/blog/the-x-way-to-getters-and-setters/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysdictcoder.com/blog/the-x-way-to-getters-and-setters/</link>
	<description>Dynamics Ax stuff</description>
	<lastBuildDate>Fri, 30 Apr 2010 19:01:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Björn</title>
		<link>http://sysdictcoder.com/blog/the-x-way-to-getters-and-setters/comment-page-1/#comment-21</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Tue, 17 Jul 2007 18:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://sysdictcoder.com/blog/the-x-way-to-getters-and-setters/#comment-21</guid>
		<description>Good point, SebDra.  Big data types require special care, but these situations are quite rare.  Even in the standard code prmIsDefault() is not very common in a parm-method.  It makes me wonder how bad performance is with an extra function call for &quot;simple&quot; data types.  Maybe that&#039;s something for another post.</description>
		<content:encoded><![CDATA[<p>Good point, SebDra.  Big data types require special care, but these situations are quite rare.  Even in the standard code prmIsDefault() is not very common in a parm-method.  It makes me wonder how bad performance is with an extra function call for &#8220;simple&#8221; data types.  Maybe that&#8217;s something for another post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SebDra</title>
		<link>http://sysdictcoder.com/blog/the-x-way-to-getters-and-setters/comment-page-1/#comment-20</link>
		<dc:creator>SebDra</dc:creator>
		<pubDate>Tue, 17 Jul 2007 06:32:40 +0000</pubDate>
		<guid isPermaLink="false">http://sysdictcoder.com/blog/the-x-way-to-getters-and-setters/#comment-20</guid>
		<description>yes, but every extendeddatatype will transferred &quot;by-value&quot;,
so be carefull with big containers or arrays.

&quot;best practice&quot; is: use the x++ function prmisdefault()
CustAccount parmCustAccount(CustAccount _custAccount = &quot;&quot;)
{
;
if ( ! prmisdefault( _custAccount ))
   custAccount = _custAccount;

return custAccount;
}</description>
		<content:encoded><![CDATA[<p>yes, but every extendeddatatype will transferred &#8220;by-value&#8221;,<br />
so be carefull with big containers or arrays.</p>
<p>&#8220;best practice&#8221; is: use the x++ function prmisdefault()<br />
CustAccount parmCustAccount(CustAccount _custAccount = &#8220;&#8221;)<br />
{<br />
;<br />
if ( ! prmisdefault( _custAccount ))<br />
   custAccount = _custAccount;</p>
<p>return custAccount;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
