<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.lostechies.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>Polyglots R Us - All Comments</title><link>http://www.lostechies.com/blogs/rssvihla/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>re: Adventures in Meta programming in Python: im_class, __import__, __getattribute__</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2010/01/08/adventures-in-meta-programming-in-python-im-class-import-getattribute.aspx#46593</link><pubDate>Fri, 08 Jan 2010 13:09:56 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:46593</guid><dc:creator>Ryan Svihla</dc:creator><description>&lt;p&gt;@bluehavana they have that too wait a blog post :)&lt;/p&gt;
&lt;p&gt;@chris tavares &amp;nbsp; &lt;/p&gt;
&lt;p&gt;The __call__ and __init__ methods and I figure several other special methods are not accessed. &lt;/p&gt;
&lt;p&gt;As you said just object attributes seem to be all thats accessed.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll update with the correction and thanks again!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=46593" width="1" height="1"&gt;</description></item><item><title>re: Adventures in Meta programming in Python: im_class, __import__, __getattribute__</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2010/01/08/adventures-in-meta-programming-in-python-im-class-import-getattribute.aspx#46554</link><pubDate>Fri, 08 Jan 2010 08:05:04 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:46554</guid><dc:creator>Chris Tavares</dc:creator><description>&lt;p&gt;Technically, __getattribute__ isn&amp;#39;t called when a method is called, it&amp;#39;s called when a method (or any attribute of the object) is accessed. It&amp;#39;s original intention was to allow you to build dictionary-like objects, but turns out to be very useful for other things, as you discovered.&lt;/p&gt;
&lt;p&gt;The net result is that if you&amp;#39;ve got a class, Foo, that implements __getattribute__, then:&lt;/p&gt;
&lt;p&gt;o = Foo()&lt;/p&gt;
&lt;p&gt;m = o.SomeMethod # __getattribute__ fires here&lt;/p&gt;
&lt;p&gt;m() &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# not here&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=46554" width="1" height="1"&gt;</description></item><item><title>re: Adventures in Meta programming in Python: im_class, __import__, __getattribute__</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2010/01/08/adventures-in-meta-programming-in-python-im-class-import-getattribute.aspx#46539</link><pubDate>Fri, 08 Jan 2010 05:23:02 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:46539</guid><dc:creator>bluehavana</dc:creator><description>&lt;p&gt;Hmm... Love the __getattribute__, its like method_missing? but not.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=46539" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Adventures in Meta programming in Python: im_class, __import__, __getattribute__ - Polyglots R Us - Los         [lostechies.com]        on Topsy.com</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2010/01/08/adventures-in-meta-programming-in-python-im-class-import-getattribute.aspx#46536</link><pubDate>Fri, 08 Jan 2010 05:10:37 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:46536</guid><dc:creator>Twitter Trackbacks for                 Adventures in Meta programming in Python: im_class, __import__, __getattribute__ - Polyglots R Us - Los         [lostechies.com]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Adventures in Meta programming in Python: im_class, __import__, __getattribute__ - Polyglots R Us - Los &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [lostechies.com] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=46536" width="1" height="1"&gt;</description></item><item><title>re: Take 2: Why we use SOLID in static languages and how we get the same functionality for cheap in dynamic languages</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/19/take-2-why-we-use-solid-in-static-languages-and-how-we-get-the-same-functionality-for-cheap-in-dynamic-languages.aspx#38398</link><pubDate>Fri, 04 Dec 2009 08:44:01 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:38398</guid><dc:creator>Gil Zilberfeld</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;My name is Gil Zilberfld. We’ve discussed your post on our webcast &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://learn.typemock.com/this-week-in-test/2009/12/4/episode-6-analyze-this.html&amp;quot;&amp;gt;"&gt;learn.typemock.com/.../episode-6-analyze-this.html&amp;quot;&amp;gt;&lt;/a&gt;“This week in testing”&amp;lt;/a&amp;gt;. We’ll be happy if you can comment, and if you like the discussion and content, let us know. And everyone else. &lt;/p&gt;
&lt;p&gt;Thanks, &lt;/p&gt;
&lt;p&gt;Gil Zilberfeld Typemock &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=38398" width="1" height="1"&gt;</description></item><item><title>re: Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#38307</link><pubDate>Thu, 03 Dec 2009 02:51:26 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:38307</guid><dc:creator>anon_anon</dc:creator><description>&lt;p&gt;You might also want to look at vtd-xml for huge XML , the next generation XML processing model that is far more powerful than DOM and SAX&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://vtd-xml.sf.net&amp;quot;&amp;gt;http://vtd-xml.sf.net&amp;lt;/a&amp;gt;"&gt;http://vtd-xml.sf.net&amp;quot;&amp;gt;http://vtd-xml.sf.net&amp;lt;/a&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=38307" width="1" height="1"&gt;</description></item><item><title>re: Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#35947</link><pubDate>Fri, 27 Nov 2009 14:20:49 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:35947</guid><dc:creator>Ryan Svihla</dc:creator><description>&lt;p&gt;@Christian I think you&amp;#39;re suffering from my poor English writing skills, which is sad because I&amp;#39;ve only lived in the Midwest and do not have the excuse of having proficiency in any other language.&lt;/p&gt;
&lt;p&gt;If you keep reading the line passed the three periods in a row the rest of the statement clears it up, I&amp;#39;ll respond here without the three periods but a comma instead.&lt;/p&gt;
&lt;p&gt;&amp;quot;100% DI’d code will be more effort to maintain because it would be in C# too, if not for that fact the language is so “structured” that the flexibility and testability benefits gained far outweigh the slightly increased cost (which is only brought down with the awesomeness of auto registering components). &amp;nbsp;In a language already with flexibility and testability whether you use DI or not AND without auto registering IoC containers the cost to maintain a full DI code base is I’d argue unacceptable.&amp;quot;&lt;/p&gt;
&lt;p&gt;So for example when I use IoC, I autoregister almost everything. &amp;nbsp;My registration lines are maybe 10 or 12 for large code bases, and those are to handle the edge of the system typically.&lt;/p&gt;
&lt;p&gt;When I didn&amp;#39;t autoregister and instead maintained huge XML files (or explicit code later) the pain was quite severe. I was still willing to have this because the benefits in flexibility still far outstripped the cost. &amp;nbsp;But trust me I was VERY happy to have auto-registration later on, its something the Java community has completely missed the boat on from what I&amp;#39;ve seen.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=35947" width="1" height="1"&gt;</description></item><item><title>re: Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#35887</link><pubDate>Fri, 27 Nov 2009 11:40:41 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:35887</guid><dc:creator>Christian</dc:creator><description>&lt;p&gt;&amp;quot;100% DI’d code will be more effort to maintain because it would be in C# too&amp;quot;&lt;/p&gt;
&lt;p&gt;I think this is a throw away comment and do not agree. Could you explain what you mean further?&lt;/p&gt;
&lt;p&gt;To me I think having all you dependencies created in a single place is vastly easier then having them littered through the codebase. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=35887" width="1" height="1"&gt;</description></item><item><title>re: Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#34071</link><pubDate>Tue, 24 Nov 2009 03:44:05 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:34071</guid><dc:creator>Ryan Svihla</dc:creator><description>&lt;p&gt;@louis yeah and from what I&amp;#39;ve seen Bob Martin himself has gone the dynamic language route (no idea what that means for his interpretation of SOLID). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;@Daniel I think there is a kernel of truth, but its more like you can&amp;#39;t be a great chef until you can make a proper omelet. You have to understand the SOLID principles well enough to know when to apply them and Bob Martin has often talked about them not being a dogmatic thing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=34071" width="1" height="1"&gt;</description></item><item><title>re: Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#33936</link><pubDate>Mon, 23 Nov 2009 19:43:09 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:33936</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;SOLID principles are akin to the step-by-step process McDonald&amp;#39;s employees must follow to create a hamburger. A great chef doesn&amp;#39;t need those rules, but in lieu of talent they ensure a consistent product. It might be worth asking if you want a Big Mac...or something better.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=33936" width="1" height="1"&gt;</description></item><item><title>re: Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#33847</link><pubDate>Mon, 23 Nov 2009 14:56:30 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:33847</guid><dc:creator>Louis Salin</dc:creator><description>&lt;p&gt;Awesome series of articles, Ryan. I&amp;#39;ve been thinking about the same thing (applying SOLID to dynamic languages) and I&amp;#39;m happy to see that you&amp;#39;ve gone into the same direction yourself.&lt;/p&gt;
&lt;p&gt;I never thought about monkey patching as a useful way to do dependency injection, which, incidentally, still remains dependency injection, no? It&amp;#39;s still a technique you can use that you must remain aware of. So maybe SOLID becomes SLID? :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=33847" width="1" height="1"&gt;</description></item><item><title>Take 3: Python, ISP, IoC, and OCP need a fundamental rethink &amp;#8230; MoinMoin Wiki</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#33544</link><pubDate>Sat, 21 Nov 2009 16:12:35 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:33544</guid><dc:creator>Take 3: Python, ISP, IoC, and OCP need a fundamental rethink … MoinMoin Wiki</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Take 3: Python, ISP, IoC, and OCP need a fundamental rethink &amp;#8230; MoinMoin Wiki&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=33544" width="1" height="1"&gt;</description></item><item><title>Twitter Trackbacks for                 Take 3: Python, ISP, IoC, and OCP need a fundamental rethink. - Polyglots R Us - Los Techies : Blogs about         [lostechies.com]        on Topsy.com</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/20/take-3-python-isp-ioc-and-ocp-need-a-fundamental-rethink.aspx#33456</link><pubDate>Sat, 21 Nov 2009 07:47:15 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:33456</guid><dc:creator>Twitter Trackbacks for                 Take 3: Python, ISP, IoC, and OCP need a fundamental rethink. - Polyglots R Us - Los Techies : Blogs about         [lostechies.com]        on Topsy.com</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Twitter Trackbacks for &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Take 3: Python, ISP, IoC, and OCP need a fundamental rethink. - Polyglots R Us - Los Techies : Blogs about &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [lostechies.com] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on Topsy.com&lt;/p&gt;
&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=33456" width="1" height="1"&gt;</description></item><item><title>re: I recant my IoC! IoC containers in dynamic languages are silly.</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/16/i-recant-my-ioc-ioc-containers-in-dynamic-languages-are-silly.aspx#33302</link><pubDate>Fri, 20 Nov 2009 23:27:01 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:33302</guid><dc:creator>Petar Shomov</dc:creator><description>&lt;p&gt;Hi Ryan,&lt;/p&gt;
&lt;p&gt;Thank you for taking the time to asnwer my concerns. I find that all of the resolutions you offered were too much sacrificy for my taste and actually summarize why I always prefer DI over Service Locator(I am not sure what I was thinking but I realized outputselect and saveoutput methods are actually participatng in a service locator pattern. Have to read blogs in the morning, when fresh ...). Anyways, thanx for the discussion, I am always curios about other people&amp;#39;s perspective, so keep these posts coming ;) &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=33302" width="1" height="1"&gt;</description></item><item><title>re: Take 2: Why we use SOLID in static languages and how we get the same functionality for cheap in dynamic languages</title><link>http://www.lostechies.com/blogs/rssvihla/archive/2009/11/19/take-2-why-we-use-solid-in-static-languages-and-how-we-get-the-same-functionality-for-cheap-in-dynamic-languages.aspx#33210</link><pubDate>Fri, 20 Nov 2009 18:21:43 GMT</pubDate><guid isPermaLink="false">ded273ab-9e87-4979-8222-e4e2e46f1b46:33210</guid><dc:creator>Julian Birch</dc:creator><description>&lt;p&gt;Hi Ryan, good article (even if I disagree). &amp;nbsp;I&amp;#39;m afraid my response was rather longer than the average comment.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.colourcoding.net/Blog/archive/2009/11/20/dynamic-languages-and-solid-principles.aspx"&gt;www.colourcoding.net/.../dynamic-languages-and-solid-principles.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Julian.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.lostechies.com/aggbug.aspx?PostID=33210" width="1" height="1"&gt;</description></item></channel></rss>