<?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"
	>
<channel>
	<title>Comments on: ReSharper SDK Adventures Part 5 — D-style Mixins in C#</title>
	<atom:link href="http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%E2%80%94-d-style-mixins-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%e2%80%94-d-style-mixins-in-c/</link>
	<description>ReSharper for productivity, dotTrace for performance, dotCover for test coverage</description>
	<pubDate>Thu, 23 May 2013 11:55:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: nesteruk</title>
		<link>http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%e2%80%94-d-style-mixins-in-c/#comment-367803</link>
		<dc:creator>nesteruk</dc:creator>
		<pubDate>Wed, 12 Sep 2012 10:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=3222#comment-367803</guid>
		<description>@Ivan in the presented implementation, the replacement only happens when the action is triggered. It gets inserted in the original file, inside the containing class. As it stands, the current implementation does not handle collisions, so if you inject the code twice in a row you'll get duplicates.

@andrew the main rationale for doing it dynamically is the same as T4 - that certain usage patterns are best implemented with code generation. For example, if you need to have a class with properties named AA to EE (including e.g., CD), this is the kind of task that this implementation can help you automate.

@Guido thanks, more coming soon!</description>
		<content:encoded><![CDATA[<p>@Ivan in the presented implementation, the replacement only happens when the action is triggered. It gets inserted in the original file, inside the containing class. As it stands, the current implementation does not handle collisions, so if you inject the code twice in a row you&#8217;ll get duplicates.</p>
<p>@andrew the main rationale for doing it dynamically is the same as T4 - that certain usage patterns are best implemented with code generation. For example, if you need to have a class with properties named AA to EE (including e.g., CD), this is the kind of task that this implementation can help you automate.</p>
<p>@Guido thanks, more coming soon!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guido</title>
		<link>http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%e2%80%94-d-style-mixins-in-c/#comment-367265</link>
		<dc:creator>Guido</dc:creator>
		<pubDate>Fri, 31 Aug 2012 06:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=3222#comment-367265</guid>
		<description>I've really enjoyed this series, I hope you can do a post on JavaScript plugin development.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve really enjoyed this series, I hope you can do a post on JavaScript plugin development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%e2%80%94-d-style-mixins-in-c/#comment-367262</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Fri, 31 Aug 2012 03:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=3222#comment-367262</guid>
		<description>Isnt builder or factory pattern does exactly the same?
In case you want to do it dynamicly, why not to use dynamic/reflection or tools - unity/entlib/etc?
In case you want to be all type safe and achive simmilar effect by treating code as data composable why not to use expression trees, linq?</description>
		<content:encoded><![CDATA[<p>Isnt builder or factory pattern does exactly the same?<br />
In case you want to do it dynamicly, why not to use dynamic/reflection or tools - unity/entlib/etc?<br />
In case you want to be all type safe and achive simmilar effect by treating code as data composable why not to use expression trees, linq?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%e2%80%94-d-style-mixins-in-c/#comment-367252</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Thu, 30 Aug 2012 21:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=3222#comment-367252</guid>
		<description>This is neat, but I wasn't sure when the mixin replacement happened.  Is it a one-off insertion when the user applies the attribute?  Is it re-run every time the code is compiled?  Does the mixed-in code get substituted into the .cs file or does that happen only in a 'temporary' .cs file which Resharper passes to the C# compiler instead of the real one?  Is Intellisense aware of the mixed-in code?  Keen to learn more!</description>
		<content:encoded><![CDATA[<p>This is neat, but I wasn&#8217;t sure when the mixin replacement happened.  Is it a one-off insertion when the user applies the attribute?  Is it re-run every time the code is compiled?  Does the mixed-in code get substituted into the .cs file or does that happen only in a &#8216;temporary&#8217; .cs file which Resharper passes to the C# compiler instead of the real one?  Is Intellisense aware of the mixed-in code?  Keen to learn more!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitri Nesteruk</title>
		<link>http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%e2%80%94-d-style-mixins-in-c/#comment-366976</link>
		<dc:creator>Dmitri Nesteruk</dc:creator>
		<pubDate>Fri, 24 Aug 2012 08:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=3222#comment-366976</guid>
		<description>@Arseny: if you can use Nemerle, Boo or some other language with metaprogramming capabilities, that is of course a better option, especially seeing how you'd get the API not to just inject text but to traverse the AST and make changes, too. If you are stuck with C#, however, the range of options is severely limited.</description>
		<content:encoded><![CDATA[<p>@Arseny: if you can use Nemerle, Boo or some other language with metaprogramming capabilities, that is of course a better option, especially seeing how you&#8217;d get the API not to just inject text but to traverse the AST and make changes, too. If you are stuck with C#, however, the range of options is severely limited.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arseny</title>
		<link>http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%e2%80%94-d-style-mixins-in-c/#comment-366952</link>
		<dc:creator>Arseny</dc:creator>
		<pubDate>Thu, 23 Aug 2012 16:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=3222#comment-366952</guid>
		<description>Isn't it better to use another language (eg. Nemerle) for such a task? Macro support in Nemerle would do same task much easier, I think.</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t it better to use another language (eg. Nemerle) for such a task? Macro support in Nemerle would do same task much easier, I think.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
