<?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>What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx</link><description>Not your average animation.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10053304</link><pubDate>Mon, 23 Aug 2010 20:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10053304</guid><dc:creator>jwraith</dc:creator><description>&lt;p&gt;&amp;quot;[I&amp;#39;m so awesome, I answered your question four years before you asked it. -Raymond]&amp;quot;&lt;/p&gt;
&lt;p&gt;And you say you don&amp;#39;t have a time machine, eh? ;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10053304" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10053284</link><pubDate>Mon, 23 Aug 2010 19:40:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10053284</guid><dc:creator>John "Z-Bo" Zabroski</dc:creator><description>&lt;p&gt;Re-reading my comments, they were indeed clumsy and confusing. &amp;nbsp;They were not connected to the OP. &amp;nbsp;Apologies.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10053284" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10053216</link><pubDate>Mon, 23 Aug 2010 17:19:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10053216</guid><dc:creator>John "Z-Bo" Zabroski</dc:creator><description>&lt;p&gt;@Eric Lippert&lt;/p&gt;
&lt;p&gt;@Developers would do well to remember that what we should actually be optimizing for is *profitable production of things of value*.&lt;/p&gt;
&lt;p&gt;Parametric polymorphism is poorly understood.&lt;/p&gt;
&lt;p&gt;@Raymond Chen&lt;/p&gt;
&lt;p&gt;@[That&amp;#39;s why you hire people smart enough to understand the rationale behind the principle so that they don&amp;#39;t turn good advice into bad advice. -Raymond]&lt;/p&gt;
&lt;p&gt;I disagree. &amp;nbsp;If I were interviewing somebody, I would want to see how effectively they used parametric polymorphism and avoid inheritance. &amp;nbsp;You hire people who can isolate invariants and encode those in general algorithms. &amp;nbsp;In this way, those invariants become execution requirements independent of implementation and also independent of use case. &amp;nbsp;If there is a change to the invariants, then that tells the developer the problem domain information has changed and the model needs to be revisited. &amp;nbsp;CIL allows both modeling techniques, but the .NET Framework Design Guidelines specifically encourage developers towards using sealed base classes (in other words, maintaining proper object-oriented generalization/specialization relationships between classes).&lt;/p&gt;
&lt;p&gt;Testing for people who &amp;quot;understand the rationale behind the principle&amp;quot; is a second-order effect you can&amp;#39;t detect in an interview. &amp;nbsp;So you can&amp;#39;t hire for that. &amp;nbsp;You should test for people who can demonstrate the principle as a deeply ingrained practice in how they craft a system. &amp;nbsp;This is like an architect observing an electricians clean wiring work of an electrical panel and using a snapshot of the work as a &amp;quot;this is how your electrical contractors SHOULD be providing service to you&amp;quot; demonstration for his students.&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;I have no idea what today&amp;#39;s topic has to do with parametric polymorphism. Please don&amp;#39;t try to explain. -Raymond&lt;/i&gt;]&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10053216" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10052570</link><pubDate>Fri, 20 Aug 2010 19:04:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10052570</guid><dc:creator>PhilW</dc:creator><description>&lt;p&gt;I sounds like another case of:&lt;/p&gt;
&lt;p&gt;&amp;quot;More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity.” - W.A. Wulf&lt;/p&gt;
&lt;p&gt;or: &lt;/p&gt;
&lt;p&gt;&amp;quot;We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.A good programmer will not be lulled into complacency by such reasoning, he will be wise to look carefully at the critical code; but only after that code has been identified&amp;quot; - Donald Knuth &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10052570" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10052253</link><pubDate>Fri, 20 Aug 2010 01:22:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10052253</guid><dc:creator>mikeb</dc:creator><description>&lt;p&gt;&amp;quot;[I&amp;#39;m so awesome, I answered your question four years before you asked it. -Raymond]&amp;quot;&lt;/p&gt;
&lt;p&gt;I see you finally got your time machine. Soon all will be right with the (Windows) world.&lt;/p&gt;
&lt;p&gt;Unless... &amp;quot;Stupid bug! You go squish now!&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10052253" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10052249</link><pubDate>Fri, 20 Aug 2010 01:14:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10052249</guid><dc:creator>Roland</dc:creator><description>&lt;p&gt;@RobertWrayUK: Funny, you&amp;#39;re right! I was in fact the person who commented on the original post by Raymond in 2006. I had forgotten this but of course also that Raymond already had answered the question in the first place.&lt;/p&gt;
&lt;p&gt;And now you know that the first thing I do when using a new Outlook is emptying the Deleted Items folder to see if the animation issue is still there. And it is! The irony is that with Outlook 97 under Windows 95, we had nice smooth animations on our Pentium 60s. Now with Outlook 2010 under Windows 7 on our quad-cores, the app seems to hang, and the 4th core always begs me: &amp;quot;Don&amp;#39;t you have a thread for me to work on? It&amp;#39;s so boring in here!&amp;quot; And I always reply: &amp;quot;Be glad and wait until the next Outlook or Common Controls 7 come along, hopefully...&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10052249" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10052068</link><pubDate>Thu, 19 Aug 2010 18:06:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10052068</guid><dc:creator>Gabe</dc:creator><description>&lt;p&gt;Mihai: The German edition isn&amp;#39;t tested just to cover most Latin scripts. German is used because it tends to have the longest words, making it obvious when somebody has created a dialog box without enough space for labels, images that can&amp;#39;t fit their text, and that sort of thing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10052068" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10051948</link><pubDate>Thu, 19 Aug 2010 14:34:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10051948</guid><dc:creator>Robert Wray</dc:creator><description>&lt;p&gt;[I&amp;#39;m so awesome, I answered your question four years before you asked it. -Raymond]&lt;/p&gt;
&lt;p&gt;And someone, quite possibly the *same* someone, called Roland, commented on your linked posting saying &amp;quot;For example, when emptying the Deleted Items folder in Outlook 2003, the animation performs poorly and sometimes appears to hang. Even in Explorer, the animations sometimes get stuck before they continue.&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10051948" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10051884</link><pubDate>Thu, 19 Aug 2010 12:19:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10051884</guid><dc:creator>rs</dc:creator><description>&lt;p&gt;Presumably, in situations such as these you can&amp;#39;t really separate programming from localization: Whatever you use to generate the animation in the first place requires some programming skills (unless you are willing to draw 120 frames for 20+ localized versions by hand), but also, as pointed out, localization skills.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10051884" width="1" height="1"&gt;</description></item><item><title>re: What was that story about the WinHelp pen-writing-in-book animation?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2010/08/17/10050774.aspx#10051791</link><pubDate>Thu, 19 Aug 2010 05:23:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10051791</guid><dc:creator>Roland</dc:creator><description>&lt;p&gt;A problem with the animation control starting with Common Controls 6 was that it no longer used a separate thread but always just a timer for the animation. A famous program affected is Outlook.&lt;/p&gt;
&lt;p&gt;Outlook 2003 was the first Outlook version that used Common Controls 6 (for Visual Styles support), and beginning with that version, the animations in Outlook during lenghty operations were no longer real animations. Try emptying the Deleted Items folder in Outlook 2003 or later: You will see just 2-3 frames of the &amp;quot;animation&amp;quot;! This hasn&amp;#39;t improved in Outlook 2010 either.&lt;/p&gt;
&lt;p&gt;I never understood why the automatic separate thread was removed from the animation control of Common Controls 6. I guess Raymond knows why...&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;I&amp;#39;m so awesome, &lt;a href="http://blogs.msdn.com/b/oldnewthing/archive/2006/03/16/552821.aspx"&gt;I answered your question four years before you asked it&lt;/a&gt;. -Raymond&lt;/i&gt;]&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10051791" width="1" height="1"&gt;</description></item></channel></rss>