<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>clog: Tag Conventions</title>
    <link>http://blog.chrispcritter.com/articles/tag/conventions</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>URIs, URLs, Conventions and Experts</title>
      <description>&lt;p&gt;I always seem to be on the losing side of arguments that debate the finer points of the Universe.  Sometimes the details are important but most of the time they&amp;#8217;re just noise.&lt;/p&gt;

&lt;p&gt;In these cases, I tend to follow the convention unless I have a strong reason not to.  I don&amp;#8217;t necessarily know how the convention came to be in all cases.  &lt;/p&gt;

&lt;p&gt;Unfortunately it&amp;#8217;s surprisingly hard to convince others to do the same.  Everyone likes to think they&amp;#8217;re an expert.  Expert is a subjective term though.  As a developer, I picked the Ruby and Rails camps.  I don&amp;#8217;t necessarily blindly agree with everything that comes out of the mouths of Dave Thomas, Jim Weirich, and DHH, but I have learned to trust their judgment.&lt;/p&gt;

&lt;p&gt;Finding mentors makes life easier.  If you know you can trust the words of someone 90+% of the time, then you can build on what they know and not bother repeating the same arguments they have gone through.  This is how &amp;#8220;experts&amp;#8221; work.  Experts have a network of peers that they trust.  That&amp;#8217;s why they advance so much more quickly.  They don&amp;#8217;t bother repeating the details.  &lt;/p&gt;

&lt;p&gt;In order to become an expert you have to assume that you don&amp;#8217;t already know everything.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ve encountered this situation once again.  I&amp;#8217;ve been following the RESTful Rails naming convention of using URIs where others use URLs.  I did this because I trusted the judgment of the Rails Core team that this was the proper term.  I always hated the interchangeability of the two so I was fine with just using one.  &lt;/p&gt;

&lt;p&gt;The debates came.  There were inappropriate URIs strewn all over my code!  These are supposed to be URLs I was told.  I was asked WHY?!  Why oh why have you strewn sloppy terminology all over our codes?  My answer of that&amp;#8217;s the Rails convention was not good enough.  My peers wanted to replace all of these, I said &amp;#8220;fine - if you really want to take the time on that.&amp;#8221;&lt;/p&gt;

&lt;p&gt;So&amp;#8230; migrations are added, tests cases modified , source, documentation - all changed to reflect the &amp;#8220;proper&amp;#8221; naming scheme.&lt;/p&gt;

&lt;p&gt;The truly ironic part.  The initial naming scheme was right.  That&amp;#8217;s correct.  All of that changed things to the WRONG terminology.  It turns out that the Rails core team was right (imagine that).  While it&amp;#8217;s true that a URL must have an http, ftp, etc protocol at the beginning - it ALSO has to have an extension at the end that says how the resource should be presented.  The concept is completely outdated now - which is why URL is considered obsolete terminology (just Google around for that).&lt;/p&gt;

&lt;p&gt;I found the below&amp;#8230; URI.. which describes the fine points of how the two differ. &lt;/p&gt;

&lt;p&gt;http://ajaxian.com/archives/uri-vs-url-whats-the-difference&lt;/p&gt;

&lt;p&gt;The lesson is to not assume you know more than everyone else.  When a group of experts agree on something, maybe they&amp;#8217;re right!  Investigate the issue if you like, but don&amp;#8217;t assume they&amp;#8217;re wrong and you&amp;#8217;re right.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Dec 2007 06:13:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:eac5379f-d96a-45ce-9463-0e3112b9bc18</guid>
      <author>chrisp</author>
      <link>http://blog.chrispcritter.com/articles/2007/12/11/uris-urls-conventions-and-experts</link>
      <category>Development</category>
      <category>Ruby and RubyOnRails</category>
      <category>Development</category>
      <category>Ruby</category>
      <category>RubyOnRails</category>
      <category>Conventions</category>
      <trackback:ping>http://blog.chrispcritter.com/articles/trackback/51</trackback:ping>
    </item>
  </channel>
</rss>
