<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Documentation</title>
	<atom:link href="http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/feed/" rel="self" type="application/rss+xml" />
	<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/</link>
	<description>Simon Murphy on professional spreadsheet development stuff</description>
	<lastBuildDate>Thu, 18 Apr 2013 08:42:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Simon</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-245</link>
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Tue, 20 Feb 2007 16:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-245</guid>
		<description><![CDATA[Andy I&#039;ve noticed that on the NGs too, I don&#039;t spose it would be much use replying RTFM or try google to every post. Your comment approach seems reasonable, I guess the last section covers me -&#039;if you aren&#039;t going to keep them up to date...&#039;

I use Stephen Bullens call tree which is great for mapping out an overview.

I try to keep my blocks short (if..Then etc) so I do not need a closing comment, I do add these to other peoples overly long blocks though.
Ken  I would code each of your comments as a seperate function returning true for success. 
MikeC any plans to share that Excel/Coffee machine code? That could be a real winner!]]></description>
		<content:encoded><![CDATA[<p>Andy I&#8217;ve noticed that on the NGs too, I don&#8217;t spose it would be much use replying RTFM or try google to every post. Your comment approach seems reasonable, I guess the last section covers me -&#8217;if you aren&#8217;t going to keep them up to date&#8230;&#8217;</p>
<p>I use Stephen Bullens call tree which is great for mapping out an overview.</p>
<p>I try to keep my blocks short (if..Then etc) so I do not need a closing comment, I do add these to other peoples overly long blocks though.<br />
Ken  I would code each of your comments as a seperate function returning true for success.<br />
MikeC any plans to share that Excel/Coffee machine code? That could be a real winner!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MikeC</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-244</link>
		<dc:creator><![CDATA[MikeC]]></dc:creator>
		<pubDate>Tue, 20 Feb 2007 15:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-244</guid>
		<description><![CDATA[I&#039;m kind of a mix I guess, in that I start off any large projects like Dick, Ken &amp; co, where I plan out the large sections of what I want to do by putting down

&#039;Step 1 Description
&#039;Step 2 Description
&#039;Step 3 Description
etc

I find this approach is useful as a starting place to plan what I want to do - mainly because I can type much more quickly than I can write, and I always lose those pesky bits of paper on which I&#039;ve scribbled my genius idea to interface Excel to the coffee machine... 
Though after I&#039;ve got my teeth into it, and amend my plan of action as I&#039;m going, I usually have to go back and change a lot of the comments so that someone else can follow what on earth it&#039;s actually doing (though not necessarily WHY it does it... ;-) ), and dump a lot of the original comments I wrote in the first place because they no longer apply to what&#039;s happening now!]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m kind of a mix I guess, in that I start off any large projects like Dick, Ken &amp; co, where I plan out the large sections of what I want to do by putting down</p>
<p>&#8216;Step 1 Description<br />
&#8216;Step 2 Description<br />
&#8216;Step 3 Description<br />
etc</p>
<p>I find this approach is useful as a starting place to plan what I want to do &#8211; mainly because I can type much more quickly than I can write, and I always lose those pesky bits of paper on which I&#8217;ve scribbled my genius idea to interface Excel to the coffee machine&#8230;<br />
Though after I&#8217;ve got my teeth into it, and amend my plan of action as I&#8217;m going, I usually have to go back and change a lot of the comments so that someone else can follow what on earth it&#8217;s actually doing (though not necessarily WHY it does it&#8230; ;-) ), and dump a lot of the original comments I wrote in the first place because they no longer apply to what&#8217;s happening now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Puls</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-217</link>
		<dc:creator><![CDATA[Ken Puls]]></dc:creator>
		<pubDate>Sat, 17 Feb 2007 00:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-217</guid>
		<description><![CDATA[&quot;I think/plan as I go along&quot;

Interesting, Ross, but doesn&#039;t negate the method for me.  I code on the fly too, but within my original plan.  I might comment out something like:

&#039;Prompt user for file
&#039;  User cancelled, so exit
&#039;Determine valid data
&#039;  Apply formula index
&#039;  Autofilters for items to remove
&#039;  Delete
&#039;Reformat Reports
&#039;  Set page setups
&#039;Save file
&#039;Print file
&#039;Email file

Basically, I work out the logic of what I want to accomplish and comment it, rather than doing it on paper.  I then go back and code it.  I may find that I missed something, or change the order, but it can still be done on the fly.

:)]]></description>
		<content:encoded><![CDATA[<p>&#8220;I think/plan as I go along&#8221;</p>
<p>Interesting, Ross, but doesn&#8217;t negate the method for me.  I code on the fly too, but within my original plan.  I might comment out something like:</p>
<p>&#8216;Prompt user for file<br />
&#8216;  User cancelled, so exit<br />
&#8216;Determine valid data<br />
&#8216;  Apply formula index<br />
&#8216;  Autofilters for items to remove<br />
&#8216;  Delete<br />
&#8216;Reformat Reports<br />
&#8216;  Set page setups<br />
&#8216;Save file<br />
&#8216;Print file<br />
&#8216;Email file</p>
<p>Basically, I work out the logic of what I want to accomplish and comment it, rather than doing it on paper.  I then go back and code it.  I may find that I missed something, or change the order, but it can still be done on the fly.</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-215</link>
		<dc:creator><![CDATA[Ross]]></dc:creator>
		<pubDate>Fri, 16 Feb 2007 11:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-215</guid>
		<description><![CDATA[Oh, 
The other thing I&#039;ll say is that i watch some of the videos here:
http://webcast.berkeley.edu/course_details.php?seriesid=1906978270
mainly talks about Lisp, but his POV is that good code does not need comments - its a lovely thought!]]></description>
		<content:encoded><![CDATA[<p>Oh,<br />
The other thing I&#8217;ll say is that i watch some of the videos here:<br />
<a href="http://webcast.berkeley.edu/course_details.php?seriesid=1906978270" rel="nofollow">http://webcast.berkeley.edu/course_details.php?seriesid=1906978270</a><br />
mainly talks about Lisp, but his POV is that good code does not need comments &#8211; its a lovely thought!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-214</link>
		<dc:creator><![CDATA[Ross]]></dc:creator>
		<pubDate>Fri, 16 Feb 2007 11:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-214</guid>
		<description><![CDATA[Interesting:

Firstly, I&#039;m basically very lazy, I tend not to think of other people having to work with my code (poor practice I know!) I under comment (maybe not in Simons book). When I do comment it tends to be for blocks of code, so I guess it’s different to what Dick and Ken do because I think/plan as I go along. I don’t think I could write it out at the top because I change what I want to do as I go along? Like I write some code to do a task, then as I need to use that code again I’ll pull it out in to a function and make it more general etc. 

One place where I have started to use comment more is when closing loops, now when I open a loop  the next code I write is a comment, then close the loop i.e.


Do Until x = 10
code
‘close x loop
Loop

I find this useful. 

As for documentation, when I start to write an app, I open up word and write down in help file like fashion, I will define what each functional part does, then write “dev notes” and “user notes”. I will keep the dev notes for me, removing them for the user/sponsor and also using it for help files. I don’t like writing it, but I do find it useful at a later stage – not so much for the code, but for the BL.]]></description>
		<content:encoded><![CDATA[<p>Interesting:</p>
<p>Firstly, I&#8217;m basically very lazy, I tend not to think of other people having to work with my code (poor practice I know!) I under comment (maybe not in Simons book). When I do comment it tends to be for blocks of code, so I guess it’s different to what Dick and Ken do because I think/plan as I go along. I don’t think I could write it out at the top because I change what I want to do as I go along? Like I write some code to do a task, then as I need to use that code again I’ll pull it out in to a function and make it more general etc. </p>
<p>One place where I have started to use comment more is when closing loops, now when I open a loop  the next code I write is a comment, then close the loop i.e.</p>
<p>Do Until x = 10<br />
code<br />
‘close x loop<br />
Loop</p>
<p>I find this useful. </p>
<p>As for documentation, when I start to write an app, I open up word and write down in help file like fashion, I will define what each functional part does, then write “dev notes” and “user notes”. I will keep the dev notes for me, removing them for the user/sponsor and also using it for help files. I don’t like writing it, but I do find it useful at a later stage – not so much for the code, but for the BL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Puls</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-212</link>
		<dc:creator><![CDATA[Ken Puls]]></dc:creator>
		<pubDate>Thu, 15 Feb 2007 20:29:48 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-212</guid>
		<description><![CDATA[I&#039;m also of the &quot;comment first, code second&quot; variety, although I haven&#039;t read Code Complete.  I just decided one day that if I was going to write it out, it might as well be in the VBE.

When I was starting, I commented everything, but comment less now.  I try to keep my comments purposeful, though... what each branch of an If statement is trying to accomplish for example.  (Not so much if it&#039;s a one liner, but definately if it&#039;s more than 10.)

I try not to comment to the extent that Bob showed above any more, though.  ;)

Personally, I&#039;d rather over comment than undercomment my code, and I do make an effort to keep them updated.  Nothing bugs me more than picking up someone else&#039;s project and having to figure out what they wrote because they couldn&#039;t even bother with a high level overview.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m also of the &#8220;comment first, code second&#8221; variety, although I haven&#8217;t read Code Complete.  I just decided one day that if I was going to write it out, it might as well be in the VBE.</p>
<p>When I was starting, I commented everything, but comment less now.  I try to keep my comments purposeful, though&#8230; what each branch of an If statement is trying to accomplish for example.  (Not so much if it&#8217;s a one liner, but definately if it&#8217;s more than 10.)</p>
<p>I try not to comment to the extent that Bob showed above any more, though.  ;)</p>
<p>Personally, I&#8217;d rather over comment than undercomment my code, and I do make an effort to keep them updated.  Nothing bugs me more than picking up someone else&#8217;s project and having to figure out what they wrote because they couldn&#8217;t even bother with a high level overview.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-210</link>
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Thu, 15 Feb 2007 16:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-210</guid>
		<description><![CDATA[Dennis
Good point, well made.]]></description>
		<content:encoded><![CDATA[<p>Dennis<br />
Good point, well made.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-209</link>
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Thu, 15 Feb 2007 14:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-209</guid>
		<description><![CDATA[Dick
Its on the shelf above your laptop:
http://www.dailydoseofexcel.com/archives/2006/12/10/new-desk/]]></description>
		<content:encoded><![CDATA[<p>Dick<br />
Its on the shelf above your laptop:<br />
<a href="http://www.dailydoseofexcel.com/archives/2006/12/10/new-desk/" rel="nofollow">http://www.dailydoseofexcel.com/archives/2006/12/10/new-desk/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-208</link>
		<dc:creator><![CDATA[Dick Kusleika]]></dc:creator>
		<pubDate>Thu, 15 Feb 2007 14:31:34 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-208</guid>
		<description><![CDATA[&quot;as recommended by Steve Mcconnell&quot;

So that&#039;s where I picked that up.  I should re-read that.  It&#039;s been a few years.]]></description>
		<content:encoded><![CDATA[<p>&#8220;as recommended by Steve Mcconnell&#8221;</p>
<p>So that&#8217;s where I picked that up.  I should re-read that.  It&#8217;s been a few years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Wallentin</title>
		<link>http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-207</link>
		<dc:creator><![CDATA[Dennis Wallentin]]></dc:creator>
		<pubDate>Thu, 15 Feb 2007 13:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://smurfonspreadsheets.wordpress.com/2007/02/14/documentation/#comment-207</guid>
		<description><![CDATA[Simon,

&gt;&gt;&gt;Heres a question - do you like documenting your work? If so why?

I get full paid to document in plain English for my large customers so money talks and I walk.

Kind regards,
Dennis]]></description>
		<content:encoded><![CDATA[<p>Simon,</p>
<p>&gt;&gt;&gt;Heres a question &#8211; do you like documenting your work? If so why?</p>
<p>I get full paid to document in plain English for my large customers so money talks and I walk.</p>
<p>Kind regards,<br />
Dennis</p>
]]></content:encoded>
	</item>
</channel>
</rss>
