<?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: Dynamically Typed Objects With C# 4.0	</title>
	<atom:link href="https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/feed/" rel="self" type="application/rss+xml" />
	<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/</link>
	<description>Complex Software Development - Simplified</description>
	<lastBuildDate>Tue, 19 Apr 2022 21:55:51 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Six Fingered Man		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-226</link>

		<dc:creator><![CDATA[Six Fingered Man]]></dc:creator>
		<pubDate>Tue, 09 Dec 2008 17:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-226</guid>

					<description><![CDATA[You keep using that word... I do not think it means what you think it means...]]></description>
			<content:encoded><![CDATA[<p>You keep using that word&#8230; I do not think it means what you think it means&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Oliver		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-225</link>

		<dc:creator><![CDATA[Oliver]]></dc:creator>
		<pubDate>Mon, 08 Dec 2008 20:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-225</guid>

					<description><![CDATA[Nice feature, which exist in today&#039;s Adobe ActionScript 3.0 for Adobe Flex and Air development. Been coding like this for years now. LOL]]></description>
			<content:encoded><![CDATA[<p>Nice feature, which exist in today&#8217;s Adobe ActionScript 3.0 for Adobe Flex and Air development. Been coding like this for years now. LOL</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jack Bond		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-224</link>

		<dc:creator><![CDATA[Jack Bond]]></dc:creator>
		<pubDate>Sun, 23 Nov 2008 07:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-224</guid>

					<description><![CDATA[You ask, &#034;This example does not work with attributes.  What would the syntax be if it did?&#034;, which I find odd. In your current implementation, you are building properties based on an element&#039;s sub elements, which seems like a mistake to me. In your sample, you have the FirstName as a child element, where it should clearly be an attribute. Does a person have multiple first names? Obviously not. FirstName is an attribute of a person, same for lastname, age, ssn, etc. Now if you want to also list that person&#039;s children, that&#039;s where you&#039;d want to use child elements, as they are a 1 to many relationship. With that in mind, shouldn&#039;t you be exposing attributes as properties and child elements as generic lists of things?]]></description>
			<content:encoded><![CDATA[<p>You ask, &quot;This example does not work with attributes.  What would the syntax be if it did?&quot;, which I find odd. In your current implementation, you are building properties based on an element&#8217;s sub elements, which seems like a mistake to me. In your sample, you have the FirstName as a child element, where it should clearly be an attribute. Does a person have multiple first names? Obviously not. FirstName is an attribute of a person, same for lastname, age, ssn, etc. Now if you want to also list that person&#8217;s children, that&#8217;s where you&#8217;d want to use child elements, as they are a 1 to many relationship. With that in mind, shouldn&#8217;t you be exposing attributes as properties and child elements as generic lists of things?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Herv&#233;		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-223</link>

		<dc:creator><![CDATA[Herv&#233;]]></dc:creator>
		<pubDate>Sun, 09 Nov 2008 21:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-223</guid>

					<description><![CDATA[Am I the only one who thinks it is overly complex ? Having a built-in support for dynamic languages in .NET is good, but adding a dynamic keyword in C# is a very very bad idea IMHO. C# is not a dynamic language, and it will not gain anything to try to be one of them. You can&#039;t be both dynamic AND static, you have to choose.

All this begins to sound to me like adding the maximum number of (cool) features, regardless of how they fit in the existing language stack.]]></description>
			<content:encoded><![CDATA[<p>Am I the only one who thinks it is overly complex ? Having a built-in support for dynamic languages in .NET is good, but adding a dynamic keyword in C# is a very very bad idea IMHO. C# is not a dynamic language, and it will not gain anything to try to be one of them. You can&#8217;t be both dynamic AND static, you have to choose.</p>
<p>All this begins to sound to me like adding the maximum number of (cool) features, regardless of how they fit in the existing language stack.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amitabh Ojha		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-222</link>

		<dc:creator><![CDATA[Amitabh Ojha]]></dc:creator>
		<pubDate>Sat, 08 Nov 2008 15:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-222</guid>

					<description><![CDATA[I dare say C# 4.0&#039;s support for dynamically typed objects is leading to VC#A.

Cheers!

Amitabh]]></description>
			<content:encoded><![CDATA[<p>I dare say C# 4.0&#8217;s support for dynamically typed objects is leading to VC#A.</p>
<p>Cheers!</p>
<p>Amitabh</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Edward Moemeka		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-221</link>

		<dc:creator><![CDATA[Edward Moemeka]]></dc:creator>
		<pubDate>Thu, 06 Nov 2008 22:31:45 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-221</guid>

					<description><![CDATA[Hi,
  um can you point the reader to how to get access to this Dynamic base type?  I dont see any different namespaces than what would normally show up.  You also dont include a link to where this was downloaded from.  I&#039;m totally confused here. Is this an internal thing or is there a way for anyone to do what you have done right now?]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
  um can you point the reader to how to get access to this Dynamic base type?  I dont see any different namespaces than what would normally show up.  You also dont include a link to where this was downloaded from.  I&#8217;m totally confused here. Is this an internal thing or is there a way for anyone to do what you have done right now?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric Rasmussen		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-220</link>

		<dc:creator><![CDATA[Eric Rasmussen]]></dc:creator>
		<pubDate>Wed, 05 Nov 2008 06:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-220</guid>

					<description><![CDATA[For dynamic XML attributes, could you use the index operator with string parameters?  Perhaps if you want to support both multiple elements with the same name and attributes, you could have the named element be an object that also supports an indexer to access the attributes.  So, if in the example above the FirstName element had an attribute named &#034;Nickname&#034; you could:

bool isNickName = Convert.ToBoolean(personXml.FirstName[0][&#034;Nickname&#034;]);

Anyhow, this is some very cool stuff.  I am really looking forward to the new features in C# 4.0!  I used to be a die-hard C++ guy, but C# is really winning me over.]]></description>
			<content:encoded><![CDATA[<p>For dynamic XML attributes, could you use the index operator with string parameters?  Perhaps if you want to support both multiple elements with the same name and attributes, you could have the named element be an object that also supports an indexer to access the attributes.  So, if in the example above the FirstName element had an attribute named &quot;Nickname&quot; you could:</p>
<p>bool isNickName = Convert.ToBoolean(personXml.FirstName[0][&quot;Nickname&quot;]);</p>
<p>Anyhow, this is some very cool stuff.  I am really looking forward to the new features in C# 4.0!  I used to be a die-hard C++ guy, but C# is really winning me over.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Portella		</title>
		<link>https://intellitect.com/blog/dynamically-typed-objects-with-c-4-0/#comment-219</link>

		<dc:creator><![CDATA[Daniel Portella]]></dc:creator>
		<pubDate>Tue, 04 Nov 2008 21:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://mark.michaelis.net/Blog/DynamicallyTypedObjectsWithC40.aspx#comment-219</guid>

					<description><![CDATA[cool it looks nice, can you give me example where this wouldl be used?]]></description>
			<content:encoded><![CDATA[<p>cool it looks nice, can you give me example where this wouldl be used?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
