{"id":298,"date":"2010-09-22T14:11:03","date_gmt":"2010-09-22T19:11:03","guid":{"rendered":"http:\/\/hoolihan.net\/blog-tim\/?p=298"},"modified":"2010-09-22T14:11:03","modified_gmt":"2010-09-22T19:11:03","slug":"why-clint-eastwood-is-my-programming-hero","status":"publish","type":"post","link":"http:\/\/hoolihan.net\/blog-tim\/2010\/09\/22\/why-clint-eastwood-is-my-programming-hero\/","title":{"rendered":"Why Clint Eastwood is My Programming Hero"},"content":{"rendered":"<p>This post has been stewing for a while.  I&#8217;ve struggled for a way to describe the needless clash I see between the communities I work in.  But I think I&#8217;ve found my analogy.  <\/p>\n<p>Ever watch a Clint Eastwood Western?  Not Dirty Harry, or any the modern-setting movies he&#8217;s been directing lately, but the Westerns.  In particular, the Man With No Name series and The Unforgiven.  They were a culture shock when they came out.  John Wayne, Roy Rogers, Bananza, etc all dominated the Western story telling.  White hats and white horses.  There might be a happy end, or a sad end, but the lines of good and evil were drawn, and Justice was a virtue.  <\/p>\n<p>It&#8217;s a misconception that Clint&#8217;s movies were different because he was the bad guy.  But he wasn&#8217;t.  He was an agnostic, or better yet, a mercenary in a world of gray.  Rarely in those movies was any character purely good.  His character, &#8220;the man with no name&#8221;, looked at the Civil War and didn&#8217;t see right and wrong, but death and corruption.  He was brutally honest and indifferent at the same time.  He evaluated options and propositions on his own terms, when needed.  He took advantage of both sides.<\/p>\n<p>And he clearly saw fault in himself, and everyone else.  He recognized there was no innocent, and no perfect.  Best embodied by the following line from Unforgiven when the Scofield kid is trying to justify a killing he feels guilty for by claiming &#8220;he had it coming.&#8221;  Clint (Will Munny) responds:<\/p>\n<p><strong>&#8220;We all got it coming, kid.&#8221;<\/strong><\/p>\n<p>What&#8217;s all this have to do with development?  I work in multiple environments.  Most commonly .Net and Ruby.  I&#8217;m reasonably active in the community going to user group meetings and conferences.  I&#8217;m active on social networks and stackoverflow.  And I listen to podcasts.  All from both communities.  <\/p>\n<p><strong>And I can&#8217;t get over the amount of criticism and disdain they have for each other<\/strong>.<\/p>\n<p><strong>What Ruby people say about .Net.<\/strong>  Ruby developers talk about the ceremony of .Net.  And the flawed use of compiler as a testing tool.  And they talk about .Net developers relying on Microsoft for direction and enhancements.  And every fictional .Net developer that a Ruby person talks about is over 40, works 9-5 and hasn&#8217;t gone to a user group in years.  <\/p>\n<p><strong>What .Net people say about Ruby.<\/strong>  They build simple commerce sites and blog engines, not enterprise applications (DHH didn&#8217;t really help that one with his infamous enterprise slide).  Dynamic typing doesn&#8217;t work in larger applications.  It&#8217;s slow.  It&#8217;s not interoperable.  How can you program without an IDE.  Carl on .Net Rocks frequently says (or at least use to) that it&#8217;s very similar to Visual Basic.  <\/p>\n<p><strong>What I think about the .Net community.<\/strong>  Like all stereotypes, there are some truths in the fictional .Net developer.  There are a lot who do not engage the community outside their workplace.  And many developers are too reliant on Microsoft for innovation.  And for all of their love of the type system, most .Net developers don&#8217;t understand it.  One in ten .Net developers I interview correctly answers the &#8220;var&#8221; is still statically typed.  And there are a lot of developers who cling to their architectures, unwilling to look at new patterns and practices.  Stored Procedure experts who don&#8217;t want to hear with proper object caching and execution plan caching, an ORM can actually be faster than an ADO.Net solution (let alone and ORM using stored procs).<\/p>\n<p>That said, there are a lot developers who care and do apply modern practices in .Net.  Want proof?  Google any of the following terms: StructureMap, NHibernate, Fluent NHibernate, NUnit, MSpec, SpecFlow, Castle Project, Mono, Ninject, etc.  The ASP.Net MVC framework has a ways to go to catch up to Rails in maturity, but the reason it has seen such rapid adoption is that people in the .Net world do move to better tools given the right exposure.  And community pressure can make a difference with Microsoft.  Note the massive revamps by Microsoft in technologies that were launched badly (ie Entity Framework, Silverlight).  <\/p>\n<p><strong>What I think about the Ruby community.<\/strong>  While I agree with little of the technical criticism that .Net people have for Ruby, I have a big problem with attitudes and perceptions.  As I see it, the Ruby community is currently the most elitist community in technology today.  I started working with Ruby in 2005, and have written code generators, rake build, rails sites, a sinatra site and more in Ruby.  Yet I regularly go to ruby presentations where the chatter is how .Net developers just aren&#8217;t enlightened yet.  Apparently I&#8217;m part of some unwashed ignorant mass of people they need to save.  Ruby and Agile compete for the biggest outbreak of &#8220;religion&#8221; in the technical community.  <\/p>\n<p>And they say .Net devs rely on Microsoft for answers.  But these Ruby devs rely on 3 or 4 &#8220;Ruby&#8221;-gods on twitter to tell them what view engine or testing framework they should be using in their next project.  And everyone thinks every piece of code should be a gem that can be used by the world.  A recent Ruby Show podcast announced a gem for validating email addresses.  So I should create a gem for every regular expression in my project and distribute to the community.  Fantastic.<\/p>\n<p>That said, Ruby has a great development story.  As with any early adoption, the first people over were ambitious and risk takers.  That has benefits.  And these were people who cared about their coding, so the conventions, testing patterns, and developer experience are all very nice.  They&#8217;re IDE agnostic.  The documentation comes with it&#8217;s own server for hosting it, and it&#8217;s in simple HTML.  How many vendor products would benefit from that approach?  <\/p>\n<p><strong>Back to Clint. <\/strong>  So how does this tie back to Mr. Eastwood?  It&#8217;s frustrates me to see this useless struggle, and the mud-slinging involved.  No development platform is perfect or all powerful.  And being a member of a certain community doesn&#8217;t make you valuable, it&#8217;s what you do within that community and how much you learn and teach that says something.  I would rather hire the most active and flexible member of the COBOL community, than to hire a programmer in a hip new framework that really has his or her head in the sand.  <\/p>\n<p>I&#8217;m grateful to work in multiple frameworks and languages.  I try to take the best value and patterns from each and apply it to any programming I&#8217;m doing.  And I don&#8217;t get religious or emotional about it.  To put it in the man with no names terms, I ride in, take a honest look at myself at those around me, try to produce the most value, and then move along.  Without expectation or attachment.  <\/p>\n<p>This same dichotomy exists in other forms.  Agile vs the world.  That would be an interesting post.<\/p>\n<p>In the beginning, community enthusiasm and pride is necessary to get a community going.  And early members are well intentioned.  But when that turns to religion, zealotry, and segregation, things get ugly.  And both communities suffer from that.  In other words, we all got it coming.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post has been stewing for a while. I&#8217;ve struggled for a way to describe the needless clash I see between the communities I work in. But I think I&#8217;ve found my analogy. Ever watch a Clint Eastwood Western? Not Dirty Harry, or any the modern-setting movies he&#8217;s been directing lately, but the Westerns. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,57,18,16],"tags":[],"class_list":["post-298","post","type-post","status-publish","format-standard","hentry","category-aspnet","category-employment","category-programming","category-ruby"],"_links":{"self":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":0,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"wp:attachment":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}