<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Seven Deadly Sins of Programming - #4</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx</link><description>Our next sin is the one that I've certainly been prone to. Long ago my wife and I owned a house east of Renton, Washington (those who know about Renton at that time can probably understand why one would say "east of Renton"). Like many homes, this one</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Seven Deadly Sins of Programming - #4</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#647943</link><pubDate>Tue, 27 Jun 2006 02:59:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:647943</guid><dc:creator>Ricky Dhatt</dc:creator><description>I prefer to say I live in &amp;quot;South Newcastle&amp;quot;. </description></item><item><title>re: Seven Deadly Sins of Programming - #4</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#648228</link><pubDate>Tue, 27 Jun 2006 10:23:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:648228</guid><dc:creator>roman</dc:creator><description>At the university our prof always told us &amp;quot;Optimization is a thing you can ignore while implementing your program. You can'T do any optimization before your program is running and you know where are the hotspots and what is the goal of your optimization&amp;quot;</description></item><item><title>re: Seven Deadly Sins of Programming - #4</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#648721</link><pubDate>Tue, 27 Jun 2006 20:54:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:648721</guid><dc:creator>Wife PhC</dc:creator><description>So you finally admit it and I have witnesses!!!!</description></item><item><title>re: Seven Deadly Sins of Programming - #4</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#648928</link><pubDate>Tue, 27 Jun 2006 23:30:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:648928</guid><dc:creator>Mike Dimmick</dc:creator><description>I'd argue that doing the hash table, binary search, etc is not premature optimization IFF you know that it will be needed. That is, you've thought about the cardinality of the data - how much there'll be, and how critical the accesses to it are - and choose your data structure or search algorithm appropriately. Choosing right now can save rework.&lt;br&gt;&lt;br&gt;I do see the 'premature optimization' quote given out as an excuse for not thinking about the cost of operations, and that often ends up with an unusable first alpha, beta, or even an unusable production system when it's finally presented with the actual volume of data it needs to handle. In particular, OLTP database systems without enough thought into archiving and analysing historical data, allowing volumes of inactive data to build up.</description></item><item><title>re: Seven Deadly Sins of Programming - #4</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#648949</link><pubDate>Tue, 27 Jun 2006 23:52:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:648949</guid><dc:creator>ericgu</dc:creator><description>Mike,&lt;br&gt;&lt;br&gt;My experience - and the opinion of a fair number of people who have done more than I have - is that in anything but the most simple situations, developer estimates on how important one section of code is to the overall speed is pretty poor. It's just not possible to know enough ahead of time to do a meaningful analysis.&lt;br&gt;&lt;br&gt;Note that I'm not advocating putting optimization at the end. That does often lead to the kinds of ills that you mention, and at that point in the project there's often little that can be done about it.&lt;br&gt;&lt;br&gt;But facts trump thinking every time. That's Rico's point in his posts - if performance is important in your app, then you have to create a culture of performance where you measure performance in real scenarios throughout the project. That will tell you what needs to be optimized.</description></item><item><title>re: Seven Deadly Sins of Programming - #4</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#676770</link><pubDate>Mon, 24 Jul 2006 18:25:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:676770</guid><dc:creator>r3n</dc:creator><description>When I find my self branching out into premature optimisation type code that *may not be needed*, I usually encapsulate it so that it easy to expand on later (if neccecary).&lt;br&gt;&lt;br&gt;I find, this also helps highlight code that could be optimised later on; rather than allowing it to blend into it's surroundings and otherwise become unnoticed.</description></item><item><title>Technical Related Notes  &amp;raquo; Blog Archive   &amp;raquo; links for 2006-07-19</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#677491</link><pubDate>Tue, 25 Jul 2006 06:34:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:677491</guid><dc:creator>Technical Related Notes  » Blog Archive   » links for 2006-07-19</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://technote.thedeveloperside.com/?p=56"&gt;http://technote.thedeveloperside.com/?p=56&lt;/a&gt;</description></item><item><title>Seven deadly sins of programming - Sin #1</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#688672</link><pubDate>Fri, 04 Aug 2006 19:46:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:688672</guid><dc:creator>Eric Gunnerson's C# Compendium</dc:creator><description>So, the time has come for the worst sin. &lt;br&gt;Just to recap - and so there is one post that lists them all...</description></item><item><title>Magerquark.de &amp;raquo; &amp;#8220;Seven deadly sins of programming&amp;#8221;</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#689706</link><pubDate>Sun, 06 Aug 2006 00:17:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:689706</guid><dc:creator>Magerquark.de » “Seven deadly sins of programming”</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://www.magerquark.de/blog/archive/374"&gt;http://www.magerquark.de/blog/archive/374&lt;/a&gt;</description></item><item><title>Pyre Blog  &amp;raquo; Blog Archive   &amp;raquo; Seven Deadly Sins of Programming</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#691452</link><pubDate>Tue, 08 Aug 2006 00:57:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:691452</guid><dc:creator>Pyre Blog  » Blog Archive   » Seven Deadly Sins of Programming</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://pyre.third-bit.com/blog/archives/598.html"&gt;http://pyre.third-bit.com/blog/archives/598.html&lt;/a&gt;</description></item><item><title>  links for 2006-10-08 | Phil Wallach</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#802955</link><pubDate>Sun, 08 Oct 2006 03:29:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:802955</guid><dc:creator>  links for 2006-10-08 | Phil Wallach</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.philwallach.com/?p=65"&gt;http://www.philwallach.com/?p=65&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>My Bag of Beans  &amp;raquo; Blog Archive   &amp;raquo; Seven deadly sins of programming</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#815168</link><pubDate>Wed, 11 Oct 2006 01:19:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:815168</guid><dc:creator>My Bag of Beans  » Blog Archive   » Seven deadly sins of programming</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://bagofbeans.tsangal.org/archives/203"&gt;http://bagofbeans.tsangal.org/archives/203&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Double Check Locking and Other Premature Optimizations Can Shoot You In The Foot</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#1917445</link><pubDate>Tue, 20 Mar 2007 09:14:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1917445</guid><dc:creator>you've been HAACKED</dc:creator><description>&lt;p&gt;Double Check Locking and Other Premature Optimizations Can Shoot You In The Foot&lt;/p&gt;
</description></item><item><title>Double Check Locking and Other Premature Optimizations Can Shoot You In The Foot</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#1917863</link><pubDate>Tue, 20 Mar 2007 10:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1917863</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;After reading Scott Hanselman’s post on Managed Snobism which covers the snobbery some have against managed&lt;/p&gt;
</description></item><item><title>Optimizing LINQ Queries</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#8732522</link><pubDate>Tue, 15 Jul 2008 05:34:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8732522</guid><dc:creator>K. Scott Allen</dc:creator><description>&lt;p&gt;I’ve been asked a few times about how to optimize LINQ code. The first step in optimizing LINQ code is...&lt;/p&gt;
</description></item><item><title>Optimizing LINQ Queries</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#8732523</link><pubDate>Tue, 15 Jul 2008 05:35:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8732523</guid><dc:creator>Experiments In Writing</dc:creator><description>&lt;p&gt;I’ve been asked a few times about how to optimize LINQ code. The first step in optimizing LINQ code is&lt;/p&gt;
</description></item><item><title> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | Outdoor Ceiling Fans</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#9667982</link><pubDate>Sun, 31 May 2009 11:49:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9667982</guid><dc:creator> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | Outdoor Ceiling Fans</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://outdoorceilingfansite.info/story.php?id=1123"&gt;http://outdoorceilingfansite.info/story.php?id=1123&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | Weak Bladder</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#9705787</link><pubDate>Mon, 08 Jun 2009 04:40:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9705787</guid><dc:creator> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | Weak Bladder</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://weakbladder.info/story.php?id=3480"&gt;http://weakbladder.info/story.php?id=3480&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | Toe Nail Fungus</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#9713016</link><pubDate>Tue, 09 Jun 2009 08:57:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9713016</guid><dc:creator> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | Toe Nail Fungus</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://toenailfungusite.info/story.php?id=3256"&gt;http://toenailfungusite.info/story.php?id=3256&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | home lighting</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#9747184</link><pubDate>Sun, 14 Jun 2009 05:03:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9747184</guid><dc:creator> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | home lighting</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://homelightingconcept.info/story.php?id=1175"&gt;http://homelightingconcept.info/story.php?id=1175&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | patio set</title><link>http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx#9771628</link><pubDate>Thu, 18 Jun 2009 05:05:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9771628</guid><dc:creator> Eric Gunnerson s C Compendium Seven Deadly Sins of Programming 4 | patio set</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://patiosetsite.info/story.php?id=666"&gt;http://patiosetsite.info/story.php?id=666&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>