<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://devlicio.us/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Marcin Hoppe - All Comments</title><link>http://devlicio.us/blogs/marcin_hoppe/default.aspx</link><description>Marcin Hoppe on software development, .NET technology and the Web.</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>re: Jon Skeet writes a book: "C# in Depth"</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/09/20/jon-skeet-writes-a-book-quot-c-in-depth-quot.aspx#57985</link><pubDate>Fri, 30 Apr 2010 08:34:22 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:57985</guid><dc:creator>farnlyduck</dc:creator><description>&lt;p&gt;brightness average precipitation comments national&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=57985" width="1" height="1"&gt;</description></item><item><title>Viagra.</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/09/20/jon-skeet-writes-a-book-quot-c-in-depth-quot.aspx#45343</link><pubDate>Wed, 01 Apr 2009 18:36:57 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:45343</guid><dc:creator>Generic viagra.</dc:creator><description>&lt;p&gt;Impulse female viagra. Viagra buy.&lt;/p&gt;
&lt;img src="http://devlicio.us/aggbug.aspx?PostID=45343" width="1" height="1"&gt;</description></item><item><title>re: Jon Skeet writes a book: "C# in Depth"</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/09/20/jon-skeet-writes-a-book-quot-c-in-depth-quot.aspx#39314</link><pubDate>Fri, 25 Jan 2008 21:10:37 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:39314</guid><dc:creator>Dmitry Lyalin</dc:creator><description>&lt;p&gt;Jon's written work is by far very excellent and has been featured on my blog as well.&lt;/p&gt;
&lt;p&gt;I plan to purchase his book when it finally arrives in a few months.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=39314" width="1" height="1"&gt;</description></item><item><title>re: MSDN Tester Center</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/10/26/msdn-tester-center.aspx#38744</link><pubDate>Fri, 26 Oct 2007 16:57:21 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:38744</guid><dc:creator>David Hogue</dc:creator><description>&lt;p&gt;Nice. &amp;nbsp;More acknowledgment of how important testing is to software development is always good.&lt;/p&gt;
&lt;p&gt;Looks like they are having some issues or ironically didn't test the site in Firefox. &amp;nbsp;The Silverlight control is blank and I get JavaScript errors. &amp;nbsp;The videos look like there are two guys at a whiteboard which I think is great, but I haven't been able to get any of them to play.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=38744" width="1" height="1"&gt;</description></item><item><title>re: Visual Studio as an editor. Only an editor</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/10/02/visual-studio-as-an-editor-only-an-editor.aspx#38566</link><pubDate>Tue, 02 Oct 2007 17:54:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:38566</guid><dc:creator>Jason Meridth</dc:creator><description>&lt;p&gt;They also got Phil Haack for the ASP.NET MVC Team.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=38566" width="1" height="1"&gt;</description></item><item><title>re: Visual Studio as an editor. Only an editor</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/10/02/visual-studio-as-an-editor-only-an-editor.aspx#38565</link><pubDate>Tue, 02 Oct 2007 16:20:13 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:38565</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;For a while, I got so sick of Visual Studio 2003 that I switched completely to NAnt and EditPlus. It worked great. Eventually I got to the point where I needed intellisense in order to explore all the new namespaces and classes. But it is possible to work on .NET code without using anything but the compiler.&lt;/p&gt;
&lt;p&gt;re: Hanselman - I went to his geek dinner in Redmond.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=38565" width="1" height="1"&gt;</description></item><item><title>re: Visual Studio as an editor. Only an editor</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/10/02/visual-studio-as-an-editor-only-an-editor.aspx#38564</link><pubDate>Tue, 02 Oct 2007 15:13:36 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:38564</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;Im not dismissing it, but Im a little skeptical of this approach. &amp;nbsp;What does a single project get you? &amp;nbsp;And how does it make automated testing and deployment easier? &amp;nbsp;And why the dislike (from everywhere) of Visual Studio? &amp;nbsp;Do we really want to go back to 1993 where nothing is integrated (I'm looking at you Clipper/Blinker).&lt;/p&gt;
&lt;p&gt;Having said that, I have a tremendous amount of respect for JP, the CodeBetter guys and your co-bloggers on devlicio.us who all seem to advocate similar ideas., So what am I missing?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=38564" width="1" height="1"&gt;</description></item><item><title>re: Jon Skeet writes a book: "C# in Depth"</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/09/20/jon-skeet-writes-a-book-quot-c-in-depth-quot.aspx#38459</link><pubDate>Fri, 21 Sep 2007 20:26:15 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:38459</guid><dc:creator>mumtaz</dc:creator><description>&lt;p&gt;I actually read the C# 2.0 spec &amp;quot;cover to cover&amp;quot; two times. The degree of C# mastery gained from reading the spec is exceptionally high. Your coding mistakes become very rare. &amp;nbsp; I recommend reading the C# 3.0 spec cover to cover ( i plan to do it myself ). Trust me....its a very rewarding endevour.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=38459" width="1" height="1"&gt;</description></item><item><title>re: How to keep List&lt;T&gt; sorted?</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/05/15/how-to-keep-list-t-sorted.aspx#26012</link><pubDate>Mon, 21 May 2007 10:02:01 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:26012</guid><dc:creator>Marcin Hoppe</dc:creator><description>&lt;p&gt;I feel a little bit uncomfortable with storing twice as much data as needed. This might be an issue in my scenario.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=26012" width="1" height="1"&gt;</description></item><item><title>re: How to keep List&lt;T&gt; sorted?</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/05/15/how-to-keep-list-t-sorted.aspx#25723</link><pubDate>Fri, 18 May 2007 16:39:24 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:25723</guid><dc:creator>dwvisser</dc:creator><description>&lt;p&gt;I would actually have taken a different approach. I'm lazy by nature, and would have just taken advantage of the existing SortedList class in .Net 2.0:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public class Set&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SortedList&amp;lt;int, int&amp;gt; sortedList = new SortedList&amp;lt;int, int&amp;gt;();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void Add(int i)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sortedList.Add(i, i);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public int this[int index]&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;get&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return sortedList.Keys[index];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;It's annoying that the only SortedList implementation they give uses KeyValue pairs as the type, but oh well. Also, .Net's SortedList requires unique keys, but since you're calling your class Set, that's probably not an issue in this case.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=25723" width="1" height="1"&gt;</description></item><item><title>re: How to keep List&lt;T&gt; sorted?</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/05/15/how-to-keep-list-t-sorted.aspx#25336</link><pubDate>Wed, 16 May 2007 08:35:36 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:25336</guid><dc:creator>Marcin Hoppe</dc:creator><description>&lt;p&gt;@krECik:&lt;/p&gt;
&lt;p&gt;This is indeed an easy optimization. It didn't come to my mind as in my scenario (during the initialization of the program) I am always adding new items in ascending order, so new items always end up at the end of the list.&lt;/p&gt;
&lt;p&gt;@Keith:&lt;/p&gt;
&lt;p&gt;This is a good suggestion. Reflector tells me that Add is a little bit simpler than Insert. I will update the entry.&lt;br&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=25336" width="1" height="1"&gt;</description></item><item><title>re: How to keep List&lt;T&gt; sorted?</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/05/15/how-to-keep-list-t-sorted.aspx#25305</link><pubDate>Wed, 16 May 2007 03:26:59 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:25305</guid><dc:creator>Keith Nicholas</dc:creator><description>&lt;p&gt;The first two inserts should be Add, it won't make any difference to the performance (other than probably eliminating one check) but it simplifies the code a bit&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=25305" width="1" height="1"&gt;</description></item><item><title>re: How to keep List&lt;T&gt; sorted?</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/05/15/how-to-keep-list-t-sorted.aspx#25273</link><pubDate>Tue, 15 May 2007 21:17:39 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:25273</guid><dc:creator>krECik</dc:creator><description>&lt;p&gt;You could optimize it more in similar way adding after second if block another one.&lt;/p&gt;
&lt;p&gt;if( sortedList[0] &amp;gt; i ) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp;sortedList.Insert(0, i);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;return;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=25273" width="1" height="1"&gt;</description></item><item><title>re: TDD Tip: Leave a Broken Test</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/04/05/tdd-tip-leave-a-broken-test.aspx#20680</link><pubDate>Thu, 05 Apr 2007 20:59:11 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:20680</guid><dc:creator>Billy McCafferty</dc:creator><description>&lt;p&gt;That reminds me of a presentation I was giving last year. &amp;nbsp;As I often do, I had left a broken test for the exact reason you've stated. &amp;nbsp;I was giving a presentation, using my project work as examples and emphasizing the point that you should never have a broken unit test when you check all your code in. &amp;nbsp;To show this, I confidently opened NUnit, ran the tests, and...wham...red bar. &amp;nbsp;A couple of chuckles later, I let them all know that it was broken intentionally for when I got back to work. &amp;nbsp;I think they inferred that I was trying to pass a bug off as a &amp;quot;feature.&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=20680" width="1" height="1"&gt;</description></item><item><title>re: TDD Tip: Leave a Broken Test</title><link>http://devlicio.us/blogs/marcin_hoppe/archive/2007/04/05/tdd-tip-leave-a-broken-test.aspx#20647</link><pubDate>Thu, 05 Apr 2007 11:11:40 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:20647</guid><dc:creator>Derik Whittaker</dc:creator><description>&lt;p&gt;Marcin,&lt;/p&gt;
&lt;p&gt;This is a very good suggestion. &amp;nbsp;I know I leave notes for my self every day on where to start back up the following morning (of course i have to do my daily moring surfing first :)).&lt;/p&gt;
&lt;p&gt;Derik&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=20647" width="1" height="1"&gt;</description></item></channel></rss>
