<?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: Dynamic reflection versus static reflection</title>
	<atom:link href="http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/</link>
	<description>Blog about architectural patterns, best practices, coding principles and techniques</description>
	<lastBuildDate>Tue, 02 Apr 2013 00:12:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Michael Freidgeim</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-539</link>
		<dc:creator>Michael Freidgeim</dc:creator>
		<pubDate>Wed, 20 Feb 2013 12:04:00 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-539</guid>
		<description>According to  http://stackoverflow.com/questions/7061237/static-reflection-performance static reflection is slower than classic one.

</description>
		<content:encoded><![CDATA[<p>According to  <a href="http://stackoverflow.com/questions/7061237/static-reflection-performance" rel="nofollow">http://stackoverflow.com/questions/7061237/static-reflection-performance</a> static reflection is slower than classic one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark C</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-82</link>
		<dc:creator>Mark C</dc:creator>
		<pubDate>Thu, 18 Mar 2010 02:16:01 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-82</guid>
		<description>I think that referring to the use of lambda expressions as static reflection is a bit of a misnomer.  While you gain the advantage of not using magic strings, the actual lambda function is generated dynamically by the expression.Compile() method (which, IIRC, uses Reflection.Emit under the hood).</description>
		<content:encoded><![CDATA[<p>I think that referring to the use of lambda expressions as static reflection is a bit of a misnomer.  While you gain the advantage of not using magic strings, the actual lambda function is generated dynamically by the expression.Compile() method (which, IIRC, uses Reflection.Emit under the hood).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel N. Schenker</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-81</link>
		<dc:creator>Gabriel N. Schenker</dc:creator>
		<pubDate>Thu, 02 Jul 2009 16:17:28 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-81</guid>
		<description>@raj: I have not done any research about the performance of the two approaches. But in my experience the performance usually is not an issue wherever I use static reflection... But the increased robustness of the code is a clear benefit</description>
		<content:encoded><![CDATA[<p>@raj: I have not done any research about the performance of the two approaches. But in my experience the performance usually is not an issue wherever I use static reflection&#8230; But the increased robustness of the code is a clear benefit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel N. Schenker</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-80</link>
		<dc:creator>Gabriel N. Schenker</dc:creator>
		<pubDate>Thu, 02 Jul 2009 16:14:57 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-80</guid>
		<description>@Xor: where ever you don&#039;t want to use &quot;magic&quot; strings you use static reflection. Examples of well known projects are
-Fluent NHibernate, NHibernate 3.0 (trunk uses static reflection to define criteria queries), FuBu MVC, Fluent Silverlight and others</description>
		<content:encoded><![CDATA[<p>@Xor: where ever you don&#8217;t want to use &#8220;magic&#8221; strings you use static reflection. Examples of well known projects are<br />
-Fluent NHibernate, NHibernate 3.0 (trunk uses static reflection to define criteria queries), FuBu MVC, Fluent Silverlight and others</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xor</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-79</link>
		<dc:creator>Xor</dc:creator>
		<pubDate>Thu, 02 Jul 2009 13:05:34 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-79</guid>
		<description>Hi,
I loved the way you explain it  in a clearer way. 

mapper.Map(entity, &quot;Name&quot;, writer);
mapper.Map(entity, e =&gt; e.Name, writer);

I have a question,
If I know the entity type then I should know it&#039;s member I am trying to get value of.  If I am unsure of the name of the member I  do type &quot;entity&quot;(as in example) and press dot in visual studio to get the list of available members using intellisense , so Magic string is not a big problem

I would be more than happy to know what are the application areas of the Static reflection, and I hope you write them 
Thank you very much.


</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I loved the way you explain it  in a clearer way. </p>
<p>mapper.Map(entity, &#8220;Name&#8221;, writer);<br />
mapper.Map(entity, e => e.Name, writer);</p>
<p>I have a question,<br />
If I know the entity type then I should know it&#8217;s member I am trying to get value of.  If I am unsure of the name of the member I  do type &#8220;entity&#8221;(as in example) and press dot in visual studio to get the list of available members using intellisense , so Magic string is not a big problem</p>
<p>I would be more than happy to know what are the application areas of the Static reflection, and I hope you write them<br />
Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raj</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-78</link>
		<dc:creator>raj</dc:creator>
		<pubDate>Wed, 01 Jul 2009 14:47:42 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-78</guid>
		<description>Nice one...

Is static reflection faster than dynamic reflection? Do you have any idea? </description>
		<content:encoded><![CDATA[<p>Nice one&#8230;</p>
<p>Is static reflection faster than dynamic reflection? Do you have any idea? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-77</link>
		<dc:creator>john</dc:creator>
		<pubDate>Wed, 29 Apr 2009 21:06:26 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-77</guid>
		<description>very nice, i wish java had this, we have the magic strings =/</description>
		<content:encoded><![CDATA[<p>very nice, i wish java had this, we have the magic strings =/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ThorHalvor</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-76</link>
		<dc:creator>ThorHalvor</dc:creator>
		<pubDate>Mon, 16 Feb 2009 11:18:56 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-76</guid>
		<description>Hi,
Tnx for some great posts! I have added you to my top 10 list now ;)
- I would like to point out that the link to the &quot;lamda-explanation-post&quot; is incorrect.Both from this post and some of the other posts you got. there is a typo in the url &quot;/blogs/gabrielschenker/blogs/gabrielschenker/archive/&quot;. 

TH</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Tnx for some great posts! I have added you to my top 10 list now <img src='http://lostechies.com/gabrielschenker/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
- I would like to point out that the link to the &#8220;lamda-explanation-post&#8221; is incorrect.Both from this post and some of the other posts you got. there is a typo in the url &#8220;/blogs/gabrielschenker/blogs/gabrielschenker/archive/&#8221;. </p>
<p>TH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel N. Schenker</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-75</link>
		<dc:creator>Gabriel N. Schenker</dc:creator>
		<pubDate>Thu, 05 Feb 2009 22:06:01 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-75</guid>
		<description>@Tom: there is an &quot;infinite&quot; number of possibilities for what static reflection can be used. A good example is code generation (e.g. HTML snippets --&gt; see the FubuMVC project on Google Code). Another example is the mapping of entities to database tables as shown by &quot;Fluent NHibernate&quot;</description>
		<content:encoded><![CDATA[<p>@Tom: there is an &#8220;infinite&#8221; number of possibilities for what static reflection can be used. A good example is code generation (e.g. HTML snippets &#8211;> see the FubuMVC project on Google Code). Another example is the mapping of entities to database tables as shown by &#8220;Fluent NHibernate&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://lostechies.com/gabrielschenker/2009/02/03/dynamic-reflection-versus-static-reflection/#comment-74</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 05 Feb 2009 20:22:11 +0000</pubDate>
		<guid isPermaLink="false">/blogs/gabrielschenker/archive/2009/02/03/dynamic-reflection-versus-static-reflection.aspx#comment-74</guid>
		<description>Hi Gabriel, excellent post. But I wonder, is there any other use for this construction other than mapping properties?

Could you elaborate on that one?

KR,
Tom</description>
		<content:encoded><![CDATA[<p>Hi Gabriel, excellent post. But I wonder, is there any other use for this construction other than mapping properties?</p>
<p>Could you elaborate on that one?</p>
<p>KR,<br />
Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>
