<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>Swen</title>
	<atom:link href="http://swenbyjunoirs.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://swenbyjunoirs.wordpress.com</link>
	<description>cant get enough of swen..</description>
	<lastBuildDate>Thu, 06 Dec 2007 09:27:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='swenbyjunoirs.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Swen</title>
		<link>http://swenbyjunoirs.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://swenbyjunoirs.wordpress.com/osd.xml" title="Swen" />
	<atom:link rel='hub' href='http://swenbyjunoirs.wordpress.com/?pushpress=hub'/>
		<item>
		<title>refactoring final</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/12/06/refactoring-final/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/12/06/refactoring-final/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 09:20:59 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/12/06/refactoring-final/</guid>
		<description><![CDATA[Types of refactoring * Field encapsulation- Field encapsulation, also called data hiding, involves providing methods that can be used to read/write to/from the field rather than accessing the field directly. -This type of refactoring can be applied for Get and Set methods.  *Advantages  The internal storage format of the data is hidden. An expectation of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=59&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><u><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman">Types of refactoring </font></span></u></strong></p>
<p><strong><u><span style="font-size:12pt;line-height:115%;"></span></u></strong><font face="Times New Roman"><span style="font-size:12pt;color:black;line-height:115%;">*</span><span style="font-size:12pt;line-height:115%;"> <strong>Field encapsulation</strong></span></font><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">-<span> Field encapsulation</span>, also called <span>data hiding</span>, involves providing </font><a href="http://en.wikipedia.org/wiki/Method_(computer_science)" title="Method (computer science)"><span style="color:black;"><font face="Times New Roman">methods</font></span></a><font face="Times New Roman"> that can be used to read/write to/from the </font><a href="http://en.wikipedia.org/wiki/Field_(computer_science)" title="Field (computer science)"><span style="color:black;"><font face="Times New Roman">field</font></span></a><font face="Times New Roman"> rather than accessing the field directly.</font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"> </font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">-This type of refactoring can be applied for Get and Set methods.</font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"> </font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><strong><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">*Advantages </font></span></strong></p>
<ul>
<li class="MsoNormal"><font face="Times New Roman"><strong><span style="font-size:12pt;"><span> </span></span></strong><span style="font-size:12pt;">The internal storage format of the data is hidden. An expectation of the use of restricted character sets could allow data compression through recoding (e.g., of eight bit characters to a six bit code). An attempt to encode characters out of the range of the expected data could then be handled by casting an error in the <em>put</em> routine. </span></font></li>
<li class="MsoNormal"><span style="font-size:12pt;"><font face="Times New Roman">In general, the <em>get</em> and <em>put</em> methods may be produced in two versions &#8211; an efficient method that assumes that the caller is delivering appropriate data and that the data has been stored properly, and a </font><a href="http://en.wikipedia.org/wiki/Debugging" title="Debugging"><span style="color:black;"><font face="Times New Roman">debugging</font></span></a><font face="Times New Roman"> version that while slower, performs validity checks on data received and delivered. Such detection is useful when routines (calling or called) or internal storage formats are newly created or modified. </font></span></li>
<li class="MsoNormal"><span style="font-size:12pt;"><font face="Times New Roman">The location of the stored data within larger structures may be hidden and so enabling changes to be made to this storage without the necessity of changing the code that references the data. This also reduces the likelyhood of unexpected </font><a href="http://en.wikipedia.org/wiki/Side_effect_(computer_science)" title="Side effect (computer science)"><span style="color:black;"><font face="Times New Roman">side effects</font></span></a><font face="Times New Roman"> from such changes. This is especially advantageous when the accessors are part of an </font><a href="http://en.wikipedia.org/wiki/Operating_system" title="Operating system"><span style="color:black;"><font face="Times New Roman">operating system</font></span></a><font face="Times New Roman"> (OS), a case where the calling (application) code may not be available to the developers of the OS. </font></span></li>
</ul>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code Before encapsulation</font></span></u></strong><font face="Times New Roman"><span style="font-size:12pt;line-height:115%;">c</span></font></p>
<p><font face="Times New Roman"><span style="font-size:12pt;line-height:115%;">lass Appointment</span><span style="font-size:12pt;color:black;line-height:115%;"></span></font><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman">{</font></span><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman"><span>       </span></font></span></p>
<p><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman"><span></span>private String apptDate;</font></span></p>
<p><span style="font-size:12pt;line-height:115%;"></span><span><font face="Times New Roman">}</font></span></p>
<p><span><font face="Times New Roman"><strong><u>c</u></strong></font><font face="Times New Roman"><strong><u>ode after encapsulation</u></strong></font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"> </font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">public String getAppDate()</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">{</font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"><span>    </span>Return appDate;</font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">}</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Public void setAppDate(String a)</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">{</font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"><span>   </span>apptDate =a;</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">}</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><strong><u><span><font face="Times New Roman">*Extract Class</font></span></u></strong></p>
<p><strong><u><span></span></u></strong><font face="Times New Roman"><span>- It is to </span><span style="font-size:12pt;line-height:115%;">turn the fragment into a method whose name explains the purpose of the method.</span></font><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman">-</font></span><span style="font-size:8.5pt;line-height:115%;font-family:Verdana;"> <span>The new method is created containing the selected code, and the selected code in the existing member is replaced with a call to the new method. Turning a fragment of code into its own method gives you the ability to quickly and accurately reorganize code for better reuse and readability.</span></span></p>
<p><span style="font-size:8.5pt;line-height:115%;font-family:Verdana;"><span></span></span><strong><span style="font-size:8.5pt;color:black;line-height:115%;font-family:Verdana;">* Advantages</span></strong></p>
<p><strong><span style="font-size:8.5pt;color:black;line-height:115%;font-family:Verdana;"></span></strong><span style="font-size:10pt;line-height:140%;font-family:Symbol;"><span>·<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:8.5pt;line-height:140%;font-family:Verdana;">Encourages best coding practices by emphasizing discrete, reusable methods.</span></p>
<p><span style="font-size:8.5pt;line-height:140%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:140%;font-family:Symbol;"><span>·<span style="font:7pt 'Times New Roman';">  </span></span></span><span style="font-size:8.5pt;line-height:140%;font-family:Verdana;">Encourages self-documenting code through good organization. When descriptive names are used, high-level methods can read more like a series of comments.</span></p>
<p><span style="font-size:8.5pt;line-height:140%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:140%;font-family:Symbol;"><span>·<span style="font:7pt 'Times New Roman';">  </span></span></span><span style="font-size:8.5pt;line-height:140%;font-family:Verdana;">Encourages the creation of finer-grained methods to simplify overriding.</span></p>
<p><span style="font-size:8.5pt;line-height:140%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:140%;font-family:Symbol;"><span>·<span style="font:7pt 'Times New Roman';">  </span></span></span><span style="font-size:8.5pt;line-height:140%;font-family:Verdana;">Reduces code duplication.</span><strong><u><span><span style="text-decoration:none;"><font face="Times New Roman"> </font></span></span></u></strong></p>
<p><strong><u><span><span style="text-decoration:none;"></span></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code before Extract class </font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">class Appointment</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String apptDate;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String startTime, endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String listOfUsers;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String purposeOfMeeting;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private int meetingRoom;</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">}</font></span></u></strong></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><span style="text-decoration:none;"></span></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code After Extract class </font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">class Appointment</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String listOfUsers;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String purposeOfMeeting;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">}</font></span></p>
<p><span><font face="Times New Roman">class AppointmenttDetails {<span>   </span><strong>(extracted class) </strong></font></span><span><font face="Times New Roman"> </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">private String apptDate;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">private String startTime, endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">}</font></span></p>
<p><strong><u><span><font face="Times New Roman">*Magic number </font></span></u></strong><span style="color:black;"><font face="Times New Roman">-<u> </u></font></span></p>
<p><span style="color:black;"><font face="Times New Roman">Magic number is to<u> </u><span>create a constant, name it after the meaning, and replace the number with it.</span></font></span><span style="color:black;"><font face="Times New Roman"> </font></span></p>
<p><span style="color:black;"></span><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code before magic number </font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">class Appointment</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>             </span>private String apptDate;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String startTime, endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String listOfUsers;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String purposeOfMeeting;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private int meetingRoom;</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">}</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Appointment (String d, String startTime, String endTime, String userList, </font></span><span><font face="Times New Roman">String purpose)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>      </span>apptDate = d;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>      </span>this.startTime = startTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>        </span>this.endTime = endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>         </span>listOfUsers = userList;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>     </span>purposeOfMeeting = purpose;</font></span></p>
<p><span><font face="Times New Roman"><span>    </span><strong><u>meetingRoom = 101;</u></strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><span style="text-decoration:none;"></span></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code After magic number</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">class Appointment</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{<span>           </span>private String apptDate;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>             </span>private String startTime, endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>             </span>private String listOfUsers;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private String purposeOfMeeting;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>             </span><strong>private static int meetingRoom = </strong><strong>101; (magic number</strong>)</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">}</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Appointment (String d, String startTime, String endTime, String userList, String purpose)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>apptDate = d;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.startTime = startTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.endTime = endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>listOfUsers = userList;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>purposeOfMeeting = purpose; }</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><span style="text-decoration:none;"><font face="Times New Roman"> </font></span></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code before magic number </font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">class Date {</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>private int day, month, year;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Date (int d, int m)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>day = d;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>month = m;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span><strong><u>year = 2007</u></strong>;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><span style="text-decoration:none;"><font face="Times New Roman"> </font></span></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code After magic number</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">class Date </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>   </span>private int day, month;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font face="Times New Roman"><strong><span><span>     </span>private static int year = </span><span>2007</span></strong><span>; <strong>( magic number)</strong> }</span></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Date (int d, int m)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>day = d;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>month = m; </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">}</font></span></p>
<p><span><font face="Times New Roman"> </font></span><strong><u><span><font face="Times New Roman">*Naming conversion</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font face="Times New Roman"><strong><u><span>- </span></u></strong><span>change the names of the methods, variables and parameters to more meaningful name. This will make it easier for developers to understand the codes easily which are done by other developers.</span></font></p>
<p><span><font face="Times New Roman"> </font></span><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code before naming conversion</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Date (<strong>int d, int m, int y</strong>) </font></span></p>
<p><span><font face="Times New Roman"><span>            </span>{</font></span><strong><span><font face="Times New Roman"><span> </span>day = d;</font></span></strong><strong><span><font face="Times New Roman"><span> </span></font></span></strong></p>
<p><strong><span><font face="Times New Roman"><span>                 </span>month = m;</font></span></strong><strong><span><font face="Times New Roman"><span>   </span></font></span></strong></p>
<p><strong><span><font face="Times New Roman"><span>                  </span>year = y;</font></span></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">}</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Date (<strong>int d, int m</strong>)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>{</font></span></p>
<p><span><font face="Times New Roman"><span>                        </span><strong>day = d;</strong></font></span><span><font face="Times New Roman"><span>   </span></font></span></p>
<p><span><font face="Times New Roman"><span></span><strong>                       month = m;</strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>year = 2007;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code after naming conversion</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Date (<strong>int day, int month, int year</strong>) </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">{</font></span></p>
<p><span><font face="Times New Roman"><span>                        </span><strong>this.day = day;</strong></font></span><strong><span><font face="Times New Roman"><span>  </span></font></span></strong></p>
<p><strong><span><font face="Times New Roman"><span>                      </span>this.month = month;</font></span></strong><strong><span><font face="Times New Roman"><span>  </span></font></span></strong></p>
<p><strong><span><font face="Times New Roman"><span>                        </span>this.year = year;</font></span></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Date (<strong>int day, int month)</strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>{</font></span></p>
<p><span><font face="Times New Roman"><span>                        </span><strong>this.day = day;</strong></font></span><strong><span><font face="Times New Roman"><span>   </span></font></span></strong></p>
<p><strong><span><font face="Times New Roman"><span>                         </span>this.month = month;</font></span></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><span style="text-decoration:none;"><font face="Times New Roman"> </font></span></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code before naming conversion</font></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><span style="text-decoration:none;"><font face="Times New Roman"> </font></span></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Appointment (<strong>String d,</strong> String startTime, String endTime, String userList, </font></span><span><font face="Times New Roman">String purpose, int room)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>{</font></span></p>
<p><span><font face="Times New Roman"><span>                        </span><strong>apptDate = d;</strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.startTime = startTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.endTime = endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>listOfUsers = userList;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>purposeOfMeeting = purpose;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>meetingRoom = room;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p><span></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>public Appointment (<strong>String d</strong>, String startTime, String endTime, String userList, </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                                                </span>String purpose)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>{</font></span></p>
<p><span><font face="Times New Roman"><span>                        </span><strong>apptDate = d;</strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.startTime = startTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.endTime = endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>listOfUsers = userList;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>purposeOfMeeting = purpose;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>meetingRoom = 101;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p><span><font face="Times New Roman"> </font></span><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Bill’s team code after naming conversion</font></span></u></strong><strong><u><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"><span> </span></font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">public Appointment (<strong>String date</strong>, String startTime, String endTime, String userList, </font></span><span><font face="Times New Roman">String purpose, int room)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>{</font></span></p>
<p><span><font face="Times New Roman"><span>                        </span><strong>apptDate = date;</strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.startTime = startTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.endTime = endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>listOfUsers = userList;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>purposeOfMeeting = purpose;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>meetingRoom = room;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<p><span></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>public Appointment (<strong>String date</strong>, String startTime, String endTime, String userList, </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                                                </span>String purpose)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>{</font></span></p>
<p><span><font face="Times New Roman"><span>                        </span><strong>apptDate = date;</strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.startTime = startTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>this.endTime = endTime;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>listOfUsers = userList;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>purposeOfMeeting = purpose;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>                        </span>meetingRoom = 101;</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>            </span>}</font></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/59/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/59/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=59&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/12/06/refactoring-final/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>CVS commands</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/12/06/58/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/12/06/58/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 08:53:42 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[rika]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[yanglin]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/12/06/58/</guid>
		<description><![CDATA[The various CVS commands include: ·  init ·  checkout ·  commit ·  add ·  remove ·  diff ·  edit ·  watchers ·  editors ·  import ·  export ·  history ·  log ·  annotate ·  tag ·  status ·  server ·  update ·  rdiff ·  rtag ·  release ·  login ·  logout  The update Command The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=58&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><font face="Times New Roman">The various CVS commands include:</font></strong></p>
<p><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>init </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>checkout </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>commit </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>add </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>remove </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>diff </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>edit </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>watchers </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>editors </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>import </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>export </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>history </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>log </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>annotate </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>tag </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>status </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>server </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>update </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>rdiff </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>rtag </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>release </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>login </font></span><span style="font-size:9.5pt;font-family:Symbol;">·</span><span style="font-size:9.5pt;"><font face="Times New Roman"><span>  </span>logout</font></span><span style="font-size:9.5pt;"><font face="Times New Roman"> </font></span></p>
<p><span style="font-size:9.5pt;"></span><strong><span style="color:#003399;font-family:Arial;">The update Command</span></strong><span style="font-size:9.5pt;"><br />
<font face="Times New Roman">The update command synchronizes the changes in the repository source files with the files in the current working copy. This is useful when multiple end users are working on the same set of files. End users commit changes after you invoke checkout. This enables you to incorporate most recent revisions in the local working copy of the repository. For example, to update all the files in my_project except new.txt, the syntax is:</font></span><span style="font-size:9.5pt;"><font face="Times New Roman"> </font></span><span style="font-size:9.5pt;"><font face="Times New Roman">$ cvs update –I new.txt –P my_project</p>
<p>various options that you can use with the update command:</p>
<p></font></span></p>
<table border="0" cellPadding="0" class="MsoNormalTable">
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Option </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Description </font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-A </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Resets tags, dates, and keyword options.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-C </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Overwrites locally modified working files with original files from the repository. This is particularly useful if local files are corrupted.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-d </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Replicates the directory structure of the repository, if it is not already mirrored in the local working copy. This is useful if a directory has been created after you checkout.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-I </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Ignores the specified file.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-w </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Filters the specified file. You can use wildcard patterns to filter files.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-j </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Merges changes from the first specified revision to the second specified revision of the same file in the current working directory.</font></span></td>
</tr>
</table>
<p><strong><span style="color:#003399;font-family:Arial;"></span></strong></p>
<p><strong><span style="color:#003399;font-family:Arial;">The commit Command</span></strong><span style="font-size:9.5pt;"></span><span style="font-size:9.5pt;"> </span><span style="font-size:9.5pt;"><font face="Times New Roman">The commit command saves the changes of the current working files into the repository. When you save a file in your working directory, it does not affect the repository. Source files in the repository are independent of your local files. With commit, you can save changes made to a local file into the repository, where the file is saved as a later revision of the original source file. For example, to save the original and changed files with revision numbers, such as 1.1 and 1.2, the syntax is:</font></p>
<p></span></p>
<pre style="background:#eeeeed;line-height:14pt;border:medium none;padding:0;"><span style="font-size:9.5pt;font-family:Arial;">$ cvs commit –m "New text file" new.txt</span></pre>
<p><span style="font-size:9.5pt;"><br />
<font face="Times New Roman">various options that you can use with the Commit command:</font></span></p>
<table border="0" cellPadding="0" class="MsoNormalTable">
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Options</font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Description</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-l </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Retrieves files from the current working directory.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-R </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Commits directories recursively.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-r </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Commits revision.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-F </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Retrieves log messages from files.</font></span></td>
</tr>
</table>
<p><strong><span style="color:#003399;font-family:Arial;">The diff Command</span></strong><span style="font-size:9.5pt;"></span><span style="font-size:9.5pt;"> </span><span style="font-size:9.5pt;"><font face="Times New Roman">The diff command shows the difference between two revisions of a file. If you invoke this command without any options, CVS shows the difference between the current local working file and the earlier revision stored in the repository. The current local working file need not be saved in the repository using the commit command. For example, to show a difference between the new.txt file, which is saved in the repository yesterday, and the local working copy of the same file, the syntax is:</font></p>
<p></span></p>
<pre style="background:#eeeeed;line-height:14pt;border:medium none;padding:0;"><span style="font-size:9.5pt;font-family:Arial;">$ cvs diff –D yesterday new.txt new.txt</span></pre>
<p><span style="font-size:9.5pt;"><br />
<font face="Times New Roman">various options that you can use with the diff command to display differences according to your requirement:</font></span><span style="font-size:9.5pt;"><font face="Times New Roman">Options of the diff Command</p>
<p></font></span></p>
<table border="0" cellPadding="0" class="MsoNormalTable">
<tr>
<td width="130" style="width:97.5pt;background-color:transparent;border:#ece9d8;padding:0.75pt;"><font face="Times New Roman"><strong><span style="font-size:9.5pt;">Option</span></strong><span style="font-size:9.5pt;"></span></font></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><font face="Times New Roman"><strong><span style="font-size:9.5pt;">Description</span></strong><span style="font-size:9.5pt;"></span></font></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-lines </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Displays lines of context.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-a </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Treats files as text to compare files line-by-line.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-b </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Ignores white spaces.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-B </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Ignores changes, such as insertion and deletion of blank lines.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-binary </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Reads and writes data in binary format.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-brief </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Displays information whether the files differ.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-c </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Uses the content output format.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-d </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Changes the algorithm to find minor differences.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-expand-tabs </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Expands tabs to tableserve the alignment of tabs in the input files.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-H </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Handles large files with numerous scattered changes.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-I </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Ignores changes in the case.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-I </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Ignore changes, such as insertion or deletion of lines.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-L </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Uses label instead of the context format and unified format headers.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-s </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Displays a report when the two files are same.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-u </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Uses the unified output format.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-w </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Ignores white spaces when comparing files.</font></span></td>
</tr>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">-y </font></span></td>
<td style="background-color:transparent;border:#ece9d8;padding:0.75pt;"><span style="font-size:9.5pt;"><font face="Times New Roman">Uses the side-by-side output format.</font></span></td>
</tr>
</table>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">http://www.gnulamp.com/cvsdiff.html</font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=58&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/12/06/58/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>programming style(not completed)</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/12/04/programming-stylenot-completed/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/12/04/programming-stylenot-completed/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 07:11:04 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[richard]]></category>
		<category><![CDATA[syamir]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/12/04/programming-stylenot-completed/</guid>
		<description><![CDATA[Programming stylesProgramming style refers to a set of rules or guidelines used when writing the source code or a computer program. It is often claimed that following a particular programming style will help programmers quickly read and understand source code conforming to the style as well as helping to avoid introducing faults.Good style, being a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=57&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="font-size:15pt;"><font face="Times New Roman">Programming styles</font></span></strong><font face="Times New Roman"><strong><span>Programming style</span></strong><span> refers to a set of rules or guidelines used when writing the source code or a computer program. It is often claimed that following a particular programming style will help programmers quickly read and understand source code conforming to the style as well as helping to avoid introducing faults.</span></font><span><font face="Times New Roman">Good style, being a subjective matter, is difficult to concretely categorize; however, there are several elements common to a large number of programming styles. </font></span><span><font face="Times New Roman">Programming styles usually include the layout of the source code, including indentation; the use of white space around operators and keywords; the capitalization or otherwise of keywords and variable names; the style and spelling of user-defined identifiers, such as function, procedure and variable names; the use and style of comments. </font></span><strong><font face="Times New Roman">Code Appearance </font></strong></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">Indenting – the indention of the codes in the sample code</font></p>
<p><font face="Times New Roman"> </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">Example : </font></p>
<p style="text-indent:0.5in;margin:0;" class="MsoNormal"><font face="Times New Roman">public String getDate(){</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>return apptDate;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><font face="Times New Roman"> </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>public String getStartTime() </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>{</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>return startTime;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><font face="Times New Roman"> </font><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman"> </font></span></strong></span><span class="mw-headline"><strong><span><font face="Times New Roman">Naming and logic</font></span></strong></span><span class="mw-headline"><span><font face="Times New Roman">Appropriate namings</font></span></span><font face="Times New Roman"><span><span>-<span style="font:7pt 'Times New Roman';">         </span></span></span><span>Appropriate choices for variable names are seen as the keystone for good style. Poorly-named variables make code harder to read and understand.</span></font><a name="33900"></a><font face="Times New Roman">Code conventions are important to programmers for a number of reasons: </font></p>
<ul>
<li class="MsoNormal"><a name="16715"></a><font face="Times New Roman">80% of the lifetime cost of a piece of software goes to maintenance. </font><a name="16716"></a></li>
<li class="MsoNormal"><font face="Times New Roman">Hardly any software is maintained for its whole life by the original author. </font><a name="16717"></a></li>
<li class="MsoNormal"><font face="Times New Roman">Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly. </font><a name="33919"></a></li>
</ul>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">Example: </font></p>
<p style="text-indent:0.5in;margin:0;" class="MsoNormal"><font face="Times New Roman">public Date (int d, int m)</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>{</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>day = d;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>month = m;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>year = 2007;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><strong><font face="Times New Roman"> </font></strong><em><font face="Times New Roman">The variable d and m should be put as “day” and “month”.</font></em><em><font face="Times New Roman"> </font></em><font face="Times New Roman"> </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">public Appointment (String d, String startTime, String endTime, String userList, </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                                                </span>String purpose, int room)</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>{</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>apptDate = d;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>this.startTime = startTime;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>this.endTime = endTime;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>listOfUsers = userList;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>purposeOfMeeting = purpose;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>meetingRoom = room;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><font face="Times New Roman"> </font><em><font face="Times New Roman">The variable d should be have a name with more logic. E.g. “date”</font></em><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font><font face="Times New Roman"> </font></p>
<p style="text-indent:0.5in;margin:0;" class="MsoNormal"><font face="Times New Roman">public int returnDay() {</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>return day;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><font face="Times New Roman"> </font></p>
<p style="text-indent:0.5in;margin:0;" class="MsoNormal"><font face="Times New Roman">public int getMonth() {</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>return month;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><font face="Times New Roman"> </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>public int returnYear() </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>{</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>return year;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><em><font face="Times New Roman">The method name should be the same. In this case, returnYear() and returnDay() should be renamed to “getYear()”and “getDay()”</font></em><em><font face="Times New Roman"> </font></em><font face="Times New Roman"> </font><font face="Times New Roman"> </font><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman">Declaration of variable</font></strong></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">The variables of the same data type should either be declared on the same line or be separated to one declaration of variable per line. This should be maintained and kept constant through out the entire source code. </font></p>
<p><font face="Times New Roman"> </font><font face="Times New Roman"> </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">Example:</font></p>
<p style="text-indent:0.5in;margin:0;" class="MsoNormal"><font face="Times New Roman">private String apptDate;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>private String startTime, endTime;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>private String listOfUsers;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>private String purposeOfMeeting;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>private int meetingRoom;</font></p>
<p><font face="Times New Roman"> </font><em><font face="Times New Roman">everything is listed in different rows except for the startTime and endTime</font></em><em><font face="Times New Roman">it should separate out each different variable to one line each. </font></em><em><font face="Times New Roman">e.g. private String startTime;</font></em><em><font face="Times New Roman"><span>     </span>private String endTime;</font></em><em><font face="Times New Roman"> </font></em></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">Example:</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">private int day, month, year;</font></p>
<p><em><font face="Times New Roman"> </font></em><em><font face="Times New Roman">Everything is listed in a line. The coder should actually maintain the same format of declaring variables through out the system. Therefore we should actually change it to,</font></em><em><font face="Times New Roman">Private int day;</font></em><em><font face="Times New Roman">Private int month;</font></em><em><font face="Times New Roman">Private int year;</font></em><em><font face="Times New Roman"> </font></em><strong><font face="Times New Roman"><span> </span></font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman"> </font></strong><strong><font face="Times New Roman">Comments </font></strong></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">Comments should be used to give overviews of code and provide additional information that is not readily available in the code itself. Comments should contain only information that is relevant to reading and understanding the program.</font></p>
<p><font face="Times New Roman"> </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>public Appointment (String d, String startTime, String endTime, String userList, </font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                                                </span>String purpose, int room)</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>{</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>apptDate = d;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>this.startTime = startTime;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>this.endTime = endTime;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>listOfUsers = userList;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>purposeOfMeeting = purpose;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>                        </span>meetingRoom = room;</font></p>
<p style="margin:0;" class="MsoNormal"><font face="Times New Roman"><span>            </span>}</font></p>
<p><strong><font face="Times New Roman"> </font></strong><em><font face="Times New Roman">Comments can be added to the above method to help the user understands the codes better</font></em><em><font face="Times New Roman">At the method head we can add this comment</font></em><em><font face="Times New Roman"><span> </span>//creation of a new appointment</font></em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=57&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/12/04/programming-stylenot-completed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>Refactoring</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/12/03/refactoring/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/12/03/refactoring/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 03:02:02 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[findings]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/12/03/refactoring/</guid>
		<description><![CDATA[Refactoring hi guys, above attached files may be useful for u guys to know refactoring. =)  (click on the word refactoring)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=54&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:24pt;color:#5f5f5f;font-family:Arial;"><span style="font-size:26pt;color:#0066ff;font-family:Arial;"><a rel="attachment wp-att-56" href="http://swenbyjunoirs.wordpress.com/2007/12/03/refactoring/refactoring-2/" title="Refactoring">Refactoring</a></span></span></p>
<p><span style="font-size:24pt;color:#5f5f5f;font-family:Arial;"><span style="font-size:26pt;color:#0066ff;font-family:Arial;"></span></span></p>
<p><span style="font-size:24pt;color:#5f5f5f;font-family:Arial;"><span style="font-size:26pt;color:#0066ff;font-family:Arial;">hi guys, above attached files may be useful for u guys to know refactoring. =) </span></span></p>
<p><span style="font-size:24pt;color:#5f5f5f;font-family:Arial;"><span style="font-size:26pt;color:#0066ff;font-family:Arial;"></span></span></p>
<p><span style="font-size:24pt;color:#5f5f5f;font-family:Arial;"><span style="font-size:26pt;color:#0066ff;font-family:Arial;">(click on the word refactoring)</span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=54&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/12/03/refactoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://swenbyjunoirs.wordpress.com/2007/11/30/53/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/11/30/53/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 12:12:03 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/11/30/53/</guid>
		<description><![CDATA[Teacher we have send the scenarios to your tp email. we couldnt upload the tables here&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=53&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Teacher we have send the scenarios to your tp email. we couldnt upload the tables here&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=53&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/11/30/53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>CVS</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/11/29/cvs/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/11/29/cvs/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 07:00:56 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/11/29/cvs/</guid>
		<description><![CDATA[What is CVS? CVS is a version control system. Using it, you can record the history of your source files. For example, bugs sometimes creep in when software is modified, and you might not detect the bug until a long time after you make the modification. With CVS, you can easily retrieve old versions to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=50&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>What is CVS?</h2>
<p><span style="font-size:10pt;">CVS</span> is a version control system. Using it, you can record the history of your source files.</p>
<p>For example, bugs sometimes creep in when software is modified, and you might not detect the bug until a long time after you make the modification. With <span style="font-size:10pt;">CVS</span>, you can easily retrieve old versions to see exactly which change caused the bug. This can sometimes be a big help.</p>
<p>You could of course save every version of every file you have ever created. This would however waste an enormous amount of disk space. <span style="font-size:10pt;">CVS</span> stores all the versions of a file in a single file in a clever way that only stores the differences between versions.</p>
<p><span style="font-size:10pt;">CVS</span> also helps you if you are part of a group of people working on the same project. It is all too easy to overwrite each others&#8217; changes unless you are extremely careful. Some editors, like <span style="font-size:10pt;">GNU</span> <a name="1882114078" title="1882114078" id="amzn_cl_link_0"></a><a onclick="return mugicPopWin(this,event);" oncontextmenu="mugicRightClick(this);" target="_blank" href="http://amazon.com/gp/product/1882114078?ie=UTF8&amp;tag=seandreilingsver&amp;link_code=em1&amp;camp=212341&amp;creative=384065&amp;creativeASIN=1882114078&amp;adid=c2e0609d-01e3-46d9-942e-22a8452b3cb6"><span>Emacs</span><span></span></a><span></span>, try to make sure that two people never modify the same file at the same time. Unfortunately, if someone is using another editor, that safeguard will not work. <span style="font-size:10pt;">CVS</span> solves this problem by insulating the different developers from each other. Every developer works in his own directory, and <span style="font-size:10pt;">CVS</span> merges the work when each developer is done.</p>
<h2>What is CVS not?</h2>
<p><span style="font-size:10pt;">CVS</span> can do a lot of things for you, but it does not try to be everything for everyone.</p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;">CVS</span><span> is not a build system.</span></p>
<p style="margin-left:0.5in;">Though the structure of your repository and modules file interact with your build system (e.g. <tt><span style="font-size:10pt;">`Makefile'</span></tt>s), they are essentially independent.</p>
<p style="margin-left:0.5in;"><span style="font-size:10pt;">CVS</span> does not dictate how you build anything. It merely stores files for retrieval in a tree structure you devise.</p>
<p style="margin-left:0.5in;"><span style="font-size:10pt;">CVS</span> does not dictate how to use disk space in the checked out working directories. If you write your <tt><span style="font-size:10pt;">`Makefile'</span></tt>s or scripts in every directory so they have to know the relative positions of everything else, you wind up requiring the entire repository to be checked out.</p>
<p style="margin-left:0.5in;">If you modularize your work, and construct a build system that will share files (via links, mounts, <code><span style="font-size:10pt;">VPATH</span></code> in <tt><span style="font-size:10pt;">`Makefile'</span></tt>s, etc.), you can arrange your disk usage however you like.</p>
<p style="margin-left:0.5in;">But you have to remember that <em>any</em> such system is a lot of work to construct and maintain. <span style="font-size:10pt;">CVS</span> does not address the issues involved.</p>
<p style="margin-left:0.5in;">Of course, you should place the tools created to support such a build system (scripts, <tt><span style="font-size:10pt;">`Makefile'</span></tt>s, etc) under <span style="font-size:10pt;">CVS</span>.</p>
<p style="margin-left:0.5in;">Figuring out what files need to be rebuilt when something changes is, again, something to be handled outside the scope of <span style="font-size:10pt;">CVS</span>. One traditional approach is to use <code><span style="font-size:10pt;">make</span></code> for building, and use some automated tool for generating the dependencies which <code><span style="font-size:10pt;">make</span></code> uses.</p>
<p style="margin-left:0.5in;">See <a href="http://durak.org/cvswebsites/doc/cvs_113.php#SEC113">How your build system interacts with CVS</a>, for more information on doing builds in conjunction with <span style="font-size:10pt;">CVS</span>.</p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;">CVS</span><span> is not a substitute for management.</span></p>
<p style="margin-left:0.5in;">Your <a name="0782144101" title="0782144101" id="amzn_cl_link_0"></a><a onclick="return mugicPopWin(this,event);" oncontextmenu="mugicRightClick(this);" target="_blank" href="http://amazon.com/gp/product/0782144101?ie=UTF8&amp;tag=seandreilingsver&amp;link_code=em1&amp;camp=212341&amp;creative=384065&amp;creativeASIN=0782144101&amp;adid=12233c78-1dc5-418a-9b9c-6aae0ceadf5a"><span>managers and project</span><span></span></a><span></span> leaders are expected to talk to you frequently enough to make certain you are aware of schedules, merge points, branch names and release dates. If they don&#8217;t, <span style="font-size:10pt;">CVS</span> can&#8217;t help.</p>
<p style="margin-left:0.5in;"><span style="font-size:10pt;">CVS</span> is an instrument for making sources dance to your tune. But you are the piper and the composer. No instrument plays itself or writes its own music.</p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;">CVS</span><span> is not a substitute for developer communication.</span></p>
<p style="margin-left:0.5in;">When faced with conflicts within a single file, most developers manage to resolve them without too much effort. But a more general definition of &#8220;conflict&#8221; includes problems too difficult to solve without communication between developers.</p>
<p style="margin-left:0.5in;"><span style="font-size:10pt;">CVS</span> cannot determine when simultaneous changes within a single file, or across a whole collection of files, will logically conflict with one another. Its concept of a <em>conflict</em> is purely textual, arising when two changes to the same base file are near enough to spook the merge (i.e. <code><span style="font-size:10pt;">diff3</span></code>) command.</p>
<p style="margin-left:0.5in;"><span style="font-size:10pt;">CVS</span> does not claim to help at all in figuring out non-textual or distributed conflicts in program logic.</p>
<p style="margin-left:0.5in;">For example: Say you change the arguments to function <code><span style="font-size:10pt;">X</span></code> defined in file <tt><span style="font-size:10pt;">`A'</span></tt>. At the same time, someone edits file <tt><span style="font-size:10pt;">`B'</span></tt>, adding new calls to function <code><span style="font-size:10pt;">X</span></code> using the old arguments. You are outside the realm of <span style="font-size:10pt;">CVS</span>&#8216;s competence.</p>
<p style="margin-left:0.5in;">Acquire the habit of reading specs and talking to your peers.</p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;">CVS</span><span> does not have change control</span></p>
<p style="margin-left:0.5in;">Change control refers to a number of things. First of all it can mean <em>bug-tracking</em>, that is being able to keep a database of reported bugs and the status of each one (is it fixed? in what release? has the bug submitter agreed that it is fixed?). For interfacing <span style="font-size:10pt;">CVS</span> to an external bug-tracking system, see the <tt><span style="font-size:10pt;">`rcsinfo'</span></tt> and <tt><span style="font-size:10pt;">`verifymsg'</span></tt> files (see section <a href="http://durak.org/cvswebsites/doc/cvs_181.php#SEC181">Reference manual for Administrative files</a>).</p>
<p style="margin-left:0.5in;">Another aspect of change control is keeping track of the fact that changes to several files were in fact changed together as one logical change. If you check in several files in a single <code><span style="font-size:10pt;">cvs commit</span></code> operation, <span style="font-size:10pt;">CVS</span> then forgets that those files were checked in together, and the fact that they have the same log message is the only thing tying them together. Keeping a <span style="font-size:10pt;">GNU</span> style <tt><span style="font-size:10pt;">`ChangeLog'</span></tt> can help somewhat.</p>
<p style="margin-left:0.5in;">Another aspect of change control, in some systems, is the ability to keep track of the status of each change. Some changes have been written by a developer, others have been reviewed by a second developer, and so on. Generally, the way to do this with <span style="font-size:10pt;">CVS</span> is to generate a diff (using <code><span style="font-size:10pt;">cvs diff</span></code> or <code><span style="font-size:10pt;">diff</span></code>) and email it to someone who can then apply it using the <code><span style="font-size:10pt;">patch</span></code> utility. This is very flexible, but depends on mechanisms outside <span style="font-size:10pt;">CVS</span> to make sure nothing falls through the cracks.</p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;">CVS</span><span> is not an automated testing program</span></p>
<p style="margin-left:0.5in;">It should be possible to enforce mandatory use of a test suite using the <code><span style="font-size:10pt;">commitinfo</span></code> file. I haven&#8217;t heard a lot about projects trying to do that or whether there are subtle gotchas, however.</p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;">CVS</span><span> does not have a <a name="0419195505" title="0419195505" id="amzn_cl_link_2"></a><a onclick="return mugicPopWin(this,event);" oncontextmenu="mugicRightClick(this);" target="_blank" href="http://amazon.com/gp/product/0419195505?ie=UTF8&amp;tag=seandreilingsver&amp;link_code=em1&amp;camp=212341&amp;creative=384065&amp;creativeASIN=0419195505&amp;adid=a83f1148-f217-4738-9952-b9cf1ab8fac6"><span>built-in process model</span><span></span></a><span></span></span></p>
<p style="margin-left:0.5in;">Some systems provide ways to ensure that changes or releases go through various steps, with various approvals as needed. Generally, one can accomplish this with <span style="font-size:10pt;">CVS</span> but it might be a little more work. In some cases you&#8217;ll want to use the <tt><span style="font-size:10pt;">`commitinfo'</span></tt>, <tt><span style="font-size:10pt;">`loginfo'</span></tt>, <tt><span style="font-size:10pt;">`rcsinfo'</span></tt>, or <tt><span style="font-size:10pt;">`verifymsg'</span></tt> files, to require that <a name="B00096YKS8" title="B00096YKS8" id="amzn_cl_link_1"></a><a onclick="return mugicPopWin(this,event);" oncontextmenu="mugicRightClick(this);" target="_blank" href="http://amazon.com/gp/product/B00096YKS8?ie=UTF8&amp;tag=seandreilingsver&amp;link_code=em1&amp;camp=212341&amp;creative=384065&amp;creativeASIN=B00096YKS8&amp;adid=d3401a24-98be-4b16-a7ab-693ede4732f0"><span>certain steps</span><span></span></a><span></span> be performed before cvs will allow a checkin. Also consider whether features such as branches and tags can be used to perform tasks such as doing work in a development tree and then merging certain changes over to a stable tree only once they have been proven.</p>
<p class="MsoNormal"><span style="font-size:12pt;color:black;line-height:115%;"><a href="http://durak.org/cvswebsites/doc/">http://durak.org/cvswebsites/doc/</a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=50&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/11/29/cvs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>pbl3</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/11/28/pbl3-2/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/11/28/pbl3-2/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 13:18:09 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[group]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/11/28/pbl3-2/</guid>
		<description><![CDATA[ -A code refactoring is any change to a computer program&#8217;s code which improves its readability or simplifies its structure without changing its results. - Refactoring neither fixes bugs nor adds new functionality. - Refactoring improves the understandability of the code. - Changes its internal structure and design, and removes dead code, to make it easier [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=49&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"> </font></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">-A code refactoring is any change to a computer program&#8217;s code which improves its readability or simplifies its structure without changing its results.</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><font face="Times New Roman"><span style="font-size:12pt;color:black;line-height:115%;">-</span><span style="font-size:12pt;color:black;line-height:115%;"> Refactoring neither fixes <a href="http://en.wikipedia.org/wiki/Computer_bug" title="Computer bug"><span style="color:black;">bugs</span></a> nor adds new functionality.</span></font></p>
<p><font face="Times New Roman"><span style="font-size:12pt;color:black;line-height:115%;"></span></font><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">- Refactoring improves the </font><a href="http://en.wikipedia.org/wiki/Understandability" title="Understandability"><span style="color:black;"><font face="Times New Roman">understandability</font></span></a><font face="Times New Roman"> of the code.</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">- Changes its internal </font><a href="http://en.wikipedia.org/wiki/Structure" title="Structure"><span style="color:black;"><font face="Times New Roman">structure</font></span></a><font face="Times New Roman"> and </font><a href="http://en.wikipedia.org/wiki/Design" title="Design"><span style="color:black;"><font face="Times New Roman">design</font></span></a><font face="Times New Roman">, and removes </font><a href="http://en.wikipedia.org/wiki/Dead_code" title="Dead code"><span style="color:black;"><font face="Times New Roman">dead code</font></span></a><font face="Times New Roman">, to make it easier for human maintenance in the future.</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Examples of refactoring</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12.5pt;color:black;line-height:115%;font-family:'Arial','sans-serif';"><span>-<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Change a </font><a href="http://en.wikipedia.org/wiki/Identifier_naming_convention" title="Identifier naming convention"><span style="color:black;"><font face="Times New Roman">variable name</font></span></a><font face="Times New Roman"> into something more meaningful.</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12.5pt;color:black;line-height:115%;font-family:'Arial','sans-serif';"><span>-<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Complex refactoring is to turn the code within an if block into a </font><a href="http://en.wikipedia.org/wiki/Subroutine" title="Subroutine"><span style="color:black;"><font face="Times New Roman">subroutine</font></span></a><font face="Times New Roman">.</font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12.5pt;color:black;line-height:115%;font-family:'Arial','sans-serif';"><span>-<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">More complex refactoring is to replace an <code><span style="line-height:115%;font-family:'Times New Roman','serif';"><font size="+0">if</font></span></code> </font><a href="http://en.wikipedia.org/wiki/Conditional" title="Conditional"><span style="color:black;"><font face="Times New Roman">conditional</font></span></a><font face="Times New Roman"> with </font><a href="http://en.wikipedia.org/wiki/Polymorphism_%28computer_science%29" title="Polymorphism (computer science)"><span style="color:black;"><font face="Times New Roman">polymorphism</font></span></a><font face="Times New Roman">.</font></span><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman"> </font></span></p>
<p><span style="font-size:12pt;color:black;line-height:115%;"></span><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Types of refactoring</font></span></p>
<p><font face="Times New Roman"><span style="font-size:10pt;color:black;font-family:Wingdings;"><span><span style="font:7pt 'Times New Roman';"></span></span></span><span style="font-size:12pt;color:black;">-</span><span style="font-size:12pt;color:black;"> </span><span style="font-size:12pt;color:black;"><a href="http://en.wikipedia.org/wiki/Encapsulate_Field" title="Encapsulate Field"><span style="color:black;">Encapsulate Field</span></a> </span></font></p>
<p><font face="Times New Roman"><span style="font-size:10pt;color:black;font-family:Wingdings;"><span><span style="font:7pt 'Times New Roman';"></span></span></span><span style="font-size:12pt;color:black;">-<a href="http://en.wikipedia.org/wiki/Extract_Method" title="Extract Method"><span style="color:black;">Extract Method</span></a> (to turn part of a larger <a href="http://en.wikipedia.org/wiki/Method_%28computer_science%29" title="Method (computer science)"><span style="color:black;">method</span></a> into a new method. By breaking down code in smaller pieces, it is more easily understandable. This is also applicable to <a href="http://en.wikipedia.org/wiki/Function_%28programming%29" title="Function (programming)"><span style="color:black;">functions</span></a>)</span></font></p>
<p><font face="Times New Roman"><span style="font-size:12pt;color:black;"> </span></font><font face="Times New Roman"><span style="font-size:12pt;color:black;">-<a href="http://en.wikipedia.org/wiki/Generalize_Type" title="Generalize Type"><span style="color:black;">Generalize Type</span></a></span></font></p>
<p><font face="Times New Roman"><span style="font-size:12pt;color:black;"> </span></font><font face="Times New Roman"><span style="font-size:10pt;color:black;font-family:Wingdings;"><span><span style="font:7pt 'Times New Roman';">  </span></span></span><span style="font-size:12pt;color:black;">-<a href="http://en.wikipedia.org/wiki/Pull_Up_refactoring" title="Pull Up refactoring"><span style="color:black;">Pull Up</span></a> </span></font></p>
<p><font face="Times New Roman"><span style="font-size:10pt;color:black;font-family:Wingdings;"><span><span style="font:7pt 'Times New Roman';"></span></span></span><span style="font-size:12pt;color:black;">-<a href="http://en.wikipedia.org/wiki/Push_Down" title="Push Down"><span style="color:black;">Push Down</span></a> </span></font></p>
<p><font face="Times New Roman"><span style="font-size:12pt;color:black;"></span></font><font face="Times New Roman"><span style="font-size:12pt;color:black;">-<a href="http://en.wikipedia.org/wiki/Rename_Method" title="Rename Method"><span style="color:black;">Rename Method</span></a> (changing the name of a method into a new one that better reveals its purpose). </span></font><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman"> </font></span><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman"> </font></span></p>
<p><span style="font-size:12pt;line-height:115%;"></span><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman">-Programming style refers to a set of rules or guidelines used when writing the source code for a computer program. It is often claimed that following a particular programming style will help programmers quickly read and understand source code conforming to the style as well as helping to avoid introducing faults.</font></span></p>
<p><span style="font-size:12pt;line-height:115%;"></span><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman"><em><strong>Elements of good style</strong></em></font></span></p>
<p><span style="font-size:12pt;line-height:115%;"><font face="Times New Roman">- </font></span><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;"><font face="Times New Roman">Code appearance </font></span></span></p>
<p><font face="Times New Roman"><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;"><font>Indenting </font></span></span></font></p>
<p><font face="Times New Roman"><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;"><font>Vertical alignment</font></span></span></font></p>
<p><font face="Times New Roman"><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;"><font>Spacing</font></span></span></font></p>
<p><font face="Times New Roman"><span class="editsection7"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;"><font>Naming ,</font></span></span></font><font face="Times New Roman"><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;"><font>logic and higher techniques</font></span></span></font></p>
<p><font face="Times New Roman"><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;"><font>Appropriate variable names</font></span></span></font></p>
<p><font face="Times New Roman"><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;"><font>Boolean values in decision structures</font></span></span></font></p>
<p><font face="Times New Roman"><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;"><font>Left-hand comparisons</font></span></span></font></p>
<p><font face="Times New Roman"><span class="mw-headline"><span style="font-size:12pt;color:black;line-height:115%;">-</span></span><span style="font-size:12pt;color:black;line-height:115%;"><font>Looping and control structures</font></span></font></p>
<p><font face="Times New Roman"><span style="font-size:12pt;color:black;line-height:115%;">-</span><span style="font-size:12pt;color:black;line-height:115%;"><font>Lists</font></span></font><span style="font-size:12pt;line-height:115%;"></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=49&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/11/28/pbl3-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>pbl3 findings</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3-findings/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3-findings/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 02:21:53 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[findings]]></category>
		<category><![CDATA[group]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3-findings/</guid>
		<description><![CDATA[*Difference between testing and debugging? First is testing   - testing is a process of looking at a software system for the purpose of finding errors (no fixing only finding errors).    -debugging is the process of locating the exact cause of the error and fixing it….  Types of software testing methods - Black box-send [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=48&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">*<strong><u>Difference between testing and debugging?</u></strong></font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">First is testing </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>  </span>- testing is a process of looking at a software system for the purpose of finding errors (no fixing only finding errors).</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman"><span>   </span>-debugging is the process of locating the exact cause of the error and fixing it….</font></span></p>
<p><span><font face="Times New Roman"> </font></span><strong><u><span><font face="Times New Roman">Types of software testing methods</font></span></u></strong></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">- Black box-send input data into the black box and watch the output data coming out (depends on the input test data)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">-White box- looking inside the module in detail. Look at the specific code and test it out (test if else method, come up with test data test sequence of statements)</font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">-Regression- Testing of modified software system to make sure that all the pre existing functions are still working. (Do it each time when there is a new feature is added)</font></span></p>
<p><span><font face="Times New Roman"> </font></span><span style="font-family:Symbol;"><span>·<span style="font:7pt 'Times New Roman';">         </span></span></span><strong><u><span><font face="Times New Roman">Ways to start doing testing</font></span></u></strong></p>
<p style="text-indent:-0.25in;margin:0 0 0 0.75in;" class="MsoListParagraphCxSpMiddle"><font face="Times New Roman"><span><span>-<span style="font:7pt 'Times New Roman';"><font size="3">          </font></span></span></span><span>Top down approach- start with the UI and go down until the lowest level</span></font></p>
<p style="text-indent:-0.25in;margin:0 0 10pt 0.75in;" class="MsoListParagraphCxSpLast"><font face="Times New Roman"><span><span>-<span style="font:7pt 'Times New Roman';"><font size="3">          </font></span></span></span><span>Bottom up approach- start testing with the components first and than go up until the full system is tested.</span></font></p>
<p><span><font face="Times New Roman"> </font></span></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">Integration testing – this is where many problems occurs.</font></span></p>
<p style="text-indent:-0.25in;margin:0 0 0 0.75in;" class="MsoListParagraphCxSpFirst"><font face="Times New Roman"><span><span>-<span style="font:7pt 'Times New Roman';"><font size="3">          </font></span></span></span><span>Especially when there is huge team working on the module. </span></font></p>
<p style="text-indent:-0.25in;margin:0 0 10pt 0.75in;" class="MsoListParagraphCxSpLast"><font face="Times New Roman"><span><span>-<span style="font:7pt 'Times New Roman';"><font size="3">          </font></span></span></span><span>Main area to check during integration testing is interfaces between the different modules or units.</span></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><span><font face="Times New Roman">Plan at least 2 phases in the project.</font></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=48&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3-findings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>PBL3</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 01:36:48 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3/</guid>
		<description><![CDATA[What we know: Pantheon Systems uses IBM testing system Current appointment source code is not up to industry standards we are to reccomend guildlines for good programming styles we are to reccomend code refactoring to improve source code the developers have difficulties in managing their software files we are to explore the CVS What we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=47&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What we know:</strong></p>
<ul>
<li>Pantheon Systems uses IBM testing system</li>
<li>Current appointment source code is not up to industry standards</li>
<li>we are to reccomend guildlines for good programming styles</li>
<li>we are to reccomend code refactoring to improve source code</li>
<li>the developers have difficulties in managing their software files</li>
<li>we are to explore the CVS</li>
</ul>
<p><strong>What we dont know:</strong></p>
<ul>
<li>how to do testing</li>
<li>IBM rational testing tools</li>
<li>industry standards of programming style</li>
<li>code refactoring</li>
<li>CVS</li>
<li>different testing methods/test data/test cases</li>
<li>manage sourcecode files</li>
</ul>
<p><strong>Deliverables</strong></p>
<ul>
<li class="MsoNormal"><font face="Times New Roman">The presentation should be done as a group in the 1<sup>st</sup> session</font></li>
<li class="MsoNormal"><font face="Times New Roman">Demonstration should be done individually per test case in the 2<sup>nd</sup> session.</font></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=47&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/11/26/pbl3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
		<item>
		<title>Interface with other systems</title>
		<link>http://swenbyjunoirs.wordpress.com/2007/11/22/interface-with-other-systems-2/</link>
		<comments>http://swenbyjunoirs.wordpress.com/2007/11/22/interface-with-other-systems-2/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 08:57:36 +0000</pubDate>
		<dc:creator>wewillwalktogether</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://swenbyjunoirs.wordpress.com/2007/11/22/interface-with-other-systems-2/</guid>
		<description><![CDATA[Interface with other systems  Billing system To be done later(WE NEED HELP)  Employee’s Account system and Email system Employee’s personal email is retrieved from the account system. When the user forgets his password, a new password would be sent to his personal email which is found in the employee’s account system. The information would be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=46&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin:0;" class="MsoNormal"><font face="Times New Roman">Interface with other systems</font></p>
<p><font face="Times New Roman"> </font><strong><font face="Times New Roman">Billing system</font></strong></p>
<ul>
<li class="MsoNormal"><font face="Times New Roman">To be done later(WE NEED HELP)</font></li>
</ul>
<p><font face="Times New Roman"> </font><strong><font face="Times New Roman">Employee’s Account system and Email system</font></strong></p>
<ul>
<li class="MsoNormal"><font face="Times New Roman">Employee’s personal email is retrieved from the account system. </font></li>
<li class="MsoNormal"><font face="Times New Roman">When the user forgets his password, a new password would be sent to his personal email which is found in the employee’s account system. </font></li>
<li class="MsoNormal"><font face="Times New Roman">The information would be sent over in text format</font></li>
</ul>
<p><font face="Times New Roman"> </font><strong><font face="Times New Roman">PDA system</font></strong></p>
<ul>
<li class="MsoNormal"><font face="Times New Roman">Provides a download function for the user to be able to download and view his entire personal information management system. </font></li>
<li class="MsoNormal"><font face="Times New Roman">This function only allows the user to read only and doesn’t allow the employees to create, edit or update and delete any of the data in the system. </font></li>
<li class="MsoNormal"><font face="Times New Roman">The system shall allow the user to view his entire appointment schedule and details.</font></li>
<li class="MsoNormal"><font face="Times New Roman">The system shall allow the user to view his entire contact list and details. </font></li>
<li class="MsoNormal"><font face="Times New Roman">The system shall allow the user to view his entire to do task list and details.</font></li>
<li class="MsoNormal"><font face="Times New Roman">The information would be sent in text format</font></li>
</ul>
<p><font face="Times New Roman"> </font></p>
<p style="margin:0;" class="MsoNormal"><span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/swenbyjunoirs.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/swenbyjunoirs.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/swenbyjunoirs.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/swenbyjunoirs.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/swenbyjunoirs.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/swenbyjunoirs.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/swenbyjunoirs.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/swenbyjunoirs.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/swenbyjunoirs.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/swenbyjunoirs.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/swenbyjunoirs.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/swenbyjunoirs.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/swenbyjunoirs.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/swenbyjunoirs.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/swenbyjunoirs.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/swenbyjunoirs.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=swenbyjunoirs.wordpress.com&amp;blog=1965285&amp;post=46&amp;subd=swenbyjunoirs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://swenbyjunoirs.wordpress.com/2007/11/22/interface-with-other-systems-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e27ae36a8afb2ce87f3d5fe7f3b57b7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">swenlovers</media:title>
		</media:content>
	</item>
	</channel>
</rss>
