<?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: Implicit Fields and Inline Expressions in Delphi Prism Simplify Property Design</title>
	<atom:link href="http://www.monien.net/blog/index.php" rel="self" type="application/rss+xml" />
	<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/</link>
	<description>Delphi Programming, .NET Philosophy, Web development and more ...</description>
	<lastBuildDate>Wed, 01 Feb 2012 18:00:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Olaf Monien</title>
		<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/comment-page-1/#comment-117</link>
		<dc:creator>Olaf Monien</dc:creator>
		<pubDate>Thu, 08 Jan 2009 18:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.monien.net/blog/?p=226#comment-117</guid>
		<description>I basically meant that these implicit fields were introduced with one of Prism&#039;s earlier versions. Prism is a new name that what introduced between &quot;the product&#039;s&quot; version 3.0.14 and 3.0.15 (I believe). Somewhen earlier (from 2.0. to 3.0?) the product&#039;s name was &quot;Chrome&quot;. I&#039;m not sure what name the product had in 2004, when implicit fields were introduced ;-)</description>
		<content:encoded><![CDATA[<p>I basically meant that these implicit fields were introduced with one of Prism&#39;s earlier versions. Prism is a new name that what introduced between &#8220;the product&#39;s&#8221; version 3.0.14 and 3.0.15 (I believe). Somewhen earlier (from 2.0. to 3.0?) the product&#39;s name was &#8220;Chrome&#8221;. I&#39;m not sure what name the product had in 2004, when implicit fields were introduced <img src='http://www.monien.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fritz</title>
		<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/comment-page-1/#comment-116</link>
		<dc:creator>Fritz</dc:creator>
		<pubDate>Thu, 08 Jan 2009 18:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.monien.net/blog/?p=226#comment-116</guid>
		<description>The fixed text says: &quot;Implicit Fields exist in Prism since 2004&quot;? Delphi Prism was introduced in (exists since) 2008. Do you mean &quot;Oxygene&quot; instead of &quot;Prism&quot;? Or was there a related product called Prism before Delphi Prism?</description>
		<content:encoded><![CDATA[<p>The fixed text says: &#8220;Implicit Fields exist in Prism since 2004&#8243;? Delphi Prism was introduced in (exists since) 2008. Do you mean &#8220;Oxygene&#8221; instead of &#8220;Prism&#8221;? Or was there a related product called Prism before Delphi Prism?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe White</title>
		<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/comment-page-1/#comment-112</link>
		<dc:creator>Joe White</dc:creator>
		<pubDate>Wed, 31 Dec 2008 02:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.monien.net/blog/?p=226#comment-112</guid>
		<description>Your first example is needlessly noisy -- it&#039;s poor practice to make a setter method that just assigns the field. Just make the property say &quot;read FHourlyRate write FHourlyRate&quot;.&lt;br&gt;&lt;br&gt;But yes, Prism&#039;s auto properties look nice.&lt;br&gt;&lt;br&gt;Do you know offhand whether the auto properties can have different visibility for the setter -- along the lines of C#&#039;s &quot;{get; private set;}&quot;? I didn&#039;t see any examples of that on the wiki. It&#039;s really handy, but I&#039;m not sure how their syntax would express it.</description>
		<content:encoded><![CDATA[<p>Your first example is needlessly noisy &#8212; it&#39;s poor practice to make a setter method that just assigns the field. Just make the property say &#8220;read FHourlyRate write FHourlyRate&#8221;.</p>
<p>But yes, Prism&#39;s auto properties look nice.</p>
<p>Do you know offhand whether the auto properties can have different visibility for the setter &#8212; along the lines of C#&#39;s &#8220;{get; private set;}&#8221;? I didn&#39;t see any examples of that on the wiki. It&#39;s really handy, but I&#39;m not sure how their syntax would express it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed Nasman</title>
		<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/comment-page-1/#comment-109</link>
		<dc:creator>Mohammed Nasman</dc:creator>
		<pubDate>Tue, 16 Dec 2008 23:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.monien.net/blog/?p=226#comment-109</guid>
		<description>IMO, it&#039;s a very nice feature, and I wish CG add it to next Delphi Win32</description>
		<content:encoded><![CDATA[<p>IMO, it&#39;s a very nice feature, and I wish CG add it to next Delphi Win32</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksander Oven</title>
		<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/comment-page-1/#comment-108</link>
		<dc:creator>Aleksander Oven</dc:creator>
		<pubDate>Tue, 16 Dec 2008 21:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.monien.net/blog/?p=226#comment-108</guid>
		<description>While nice, it may be a bit of an exaggeration to say that inline expressions bring anything new to the table compared to C#. Delphi yes, but not C#. Consider this Oxygenene/Prism property declaration that you wrote:&lt;br&gt;&lt;br&gt;property WeeklyRate: Double read HourlyRate * HoursPerWeek;&lt;br&gt;&lt;br&gt;In C#, it would look like this:&lt;br&gt;&lt;br&gt;double WeeklyRate { get { return HourlyRate * HoursPerWeek; } }&lt;br&gt;&lt;br&gt;Given above, I think it is more apt to think of inline expressions as a sort of C#-ism in Oxygene/Prism than a genuine advantage over C#.</description>
		<content:encoded><![CDATA[<p>While nice, it may be a bit of an exaggeration to say that inline expressions bring anything new to the table compared to C#. Delphi yes, but not C#. Consider this Oxygenene/Prism property declaration that you wrote:</p>
<p>property WeeklyRate: Double read HourlyRate * HoursPerWeek;</p>
<p>In C#, it would look like this:</p>
<p>double WeeklyRate { get { return HourlyRate * HoursPerWeek; } }</p>
<p>Given above, I think it is more apt to think of inline expressions as a sort of C#-ism in Oxygene/Prism than a genuine advantage over C#.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf Monien</title>
		<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/comment-page-1/#comment-107</link>
		<dc:creator>Olaf Monien</dc:creator>
		<pubDate>Tue, 16 Dec 2008 21:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.monien.net/blog/?p=226#comment-107</guid>
		<description>Oups :)&lt;br&gt;Guess the Delphi Prism Wiki needs a &quot;History&quot; ...</description>
		<content:encoded><![CDATA[<p>Oups <img src='http://www.monien.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />Guess the Delphi Prism Wiki needs a &#8220;History&#8221; &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc hoffman</title>
		<link>http://www.monien.net/blog/index.php/2008/12/implicit-fields-and-inline-expressions-in-delphi-prism-simplify-property-design/comment-page-1/#comment-106</link>
		<dc:creator>marc hoffman</dc:creator>
		<pubDate>Tue, 16 Dec 2008 21:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.monien.net/blog/?p=226#comment-106</guid>
		<description>&quot;Implicit fields are not an invention of Delphi Prism though, but they were introduced with C# 3.0&quot;&lt;br&gt;&lt;br&gt;euhm... yes, they are. Oxygene/Prism has had those since 2004, while C# has added them only in 2008 ;)</description>
		<content:encoded><![CDATA[<p>&#8220;Implicit fields are not an invention of Delphi Prism though, but they were introduced with C# 3.0&#8243;</p>
<p>euhm&#8230; yes, they are. Oxygene/Prism has had those since 2004, while C# has added them only in 2008 <img src='http://www.monien.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

