<?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>mindful iterations: A Baby-Programmer's Opinions on Coding - Part I</title>
    <link>http://www.mindfuliterations.com/articles/2008/01/05/baby-programmers-opinions-on-coding-pt-1</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>I'm just a girl, standing in front of some code, asking it to compile.</description>
    <item>
      <title>A Baby-Programmer's Opinions on Coding - Part I</title>
      <description>&lt;p&gt;A strange thing is happening to me.&amp;nbsp; Really.&lt;/p&gt;&lt;p&gt;As I&amp;#39;ve been coding regularly now for several months, I&amp;#39;m starting to notice something:&amp;nbsp; I&amp;#39;m getting &lt;em&gt;opinions&lt;/em&gt;. That&amp;#39;s right, I&amp;#39;m a baby-programmer with opinions. &amp;nbsp;&lt;/p&gt;&lt;p&gt;So far I have &lt;em&gt;an opinion &lt;/em&gt;on one aspect of coding.&amp;nbsp; Well, I have more, but I&amp;#39;m only going to put one out there.&amp;nbsp; And that is... &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Please, please, please&lt;/strong&gt; - put comments in your code.&amp;nbsp; Please.&amp;nbsp; If someone is going to read your code later on, which may happen, please put comments in there.&amp;nbsp; While I agree that good code should document itself, there is no reason not to put comments in there.&amp;nbsp; Should a baby-programmer like myself come along at some point and need to work on the code you&amp;#39;ve written, it would be very helpful to find some comments.&amp;nbsp; Granted, I know the satisfaction that comes from hours upon frustrating hours of going through uncommented code, only to finally connect the dots and see wtf is going on in there.&amp;nbsp; BUT, c&amp;#39;mon... Is it that hard to hit the # key and write a few words?&lt;/p&gt;&lt;p&gt;I&amp;#39;ve read through Rails&amp;#39; ActiveRecord documentation.&amp;nbsp; TONS OF FRIGGIN&amp;#39; COMMENTS.&amp;nbsp; I LOVE it. &amp;nbsp; Seriously.&amp;nbsp; I &lt;em&gt;enjoyed &lt;/em&gt;reading the code and its accompanying documentation.&amp;nbsp; It inspired me.&amp;nbsp; It gave me ideas on how to do things differently.&amp;nbsp; I experimented in irb/Rails Console with new things and ya know what happened?&amp;nbsp; I learned.&amp;nbsp; And it was good.&lt;/p&gt;&lt;p&gt;So, please, for this baby-programmer and any others who may follow me - put some commentation in thy code.&amp;nbsp; Really.&amp;nbsp; &lt;/p&gt;

</description>
      <pubDate>Sat, 05 Jan 2008 14:56:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:219cc5e0-6a8d-4b66-b107-400a4b824af3</guid>
      <author>samantha</author>
      <link>http://www.mindfuliterations.com/articles/2008/01/05/baby-programmers-opinions-on-coding-pt-1</link>
      <category>geek</category>
      <category>programming</category>
      <category>coding</category>
      <category>rails</category>
      <trackback:ping>http://www.mindfuliterations.com/articles/trackback/152</trackback:ping>
    </item>
    <item>
      <title>"A Baby-Programmer's Opinions on Coding - Part I" by Samantha</title>
      <description>Joe, thanks for the $0.02!  I always appreciate the comments!  I realized today as I was writing some code, that I don't always comment mine, either.  I'm trying to get better, though (especially when writing in Ruby) because with things like RDoc, it's easy enough to write some comments that can serve the purpose of documentation.

And yes, I'm looking forward to having more and more opinions on programming!  Again, thanks for the comment and it's good to see another blog (your url) with a ____geek.org moniker! :)

-Samantha</description>
      <pubDate>Mon, 07 Jan 2008 18:43:01 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:f80b9a8f-aafd-411f-adc8-ebf7ec9eb8b7</guid>
      <link>http://www.mindfuliterations.com/articles/2008/01/05/baby-programmers-opinions-on-coding-pt-1#comment-1268</link>
    </item>
    <item>
      <title>"A Baby-Programmer's Opinions on Coding - Part I" by Joe F.</title>
      <description>Thought I'd add my own opinion; just remember it's only worth what you pay for it! :)

I tend NOT to comment my code, unless I'm doing something really weird that warrants explanation.  The consensus among many developers I've talked to is that your code should be self-commenting.  You should always code in a way that someone could read it and follow it without comments.  If you absolutely must write some sloppy, non-explanatory code, then yes, by all means comment it.

That said, if I'm writing code for my blog, then I may comment more often in order to explain to those who may not know the language.

Just thought I'd give my $0.02!  The further you get in programming, the more opinions you have, and the more you love to express them!</description>
      <pubDate>Mon, 07 Jan 2008 15:47:41 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:a0f1caaa-67a3-4b83-9fd6-213e5f3be3ab</guid>
      <link>http://www.mindfuliterations.com/articles/2008/01/05/baby-programmers-opinions-on-coding-pt-1#comment-1265</link>
    </item>
  </channel>
</rss>
