Statistics

Total Posts: 34
This Year: 0
This Month: 0
This Week: 0
Comments: 0


RSS 2.0

Recent Posts


On this page....


Archives

 Full Archives By Category
 2007 Calendar View

Categories


Admin

Sign In

Acknowledgments

DasBlog Theme Design by: Tom Watts
E-mail: Send mail to the author(s)
Theme Image by: dreamLogic

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

 Sunday, March 15, 2009

This blog post is part of a series of blog posts concerning a Clean Code study circle that we developers at Admeta are persuing during 2009. Here you can find an introduction concerning the question why we are doing this and here you can find an overview of all chapters as well as some study circle recommendations.

Chapter 4 Comments questions:

Reading quiz:

  1. What does Robert Martin mean when he writes that comments lie?
  2. This chapter contains 8 different categories of good comments. Which ones do you remember?
  3. Likewise there are 18 categories of bad comments. Which ones do you remember?
    Chapter 17 "smells and Heuristics", lists 5 categories of bad comments (p.286)  

Questions to ponder upon:

  1. One good comment is the "todo comment" which has tooling support in Visual Studio.NET. There is also tool support for using the "Hack" comment (e.g. //Hack: this code should be cleaned up when there is time for it). Do you think this is a good comment to use if you don't have the time to clean the code to a good design?
  2. Setting a function comment has the positive side effect in Visual Studio that the comment is visible with the so called Intellisense (auto-complete). However, there is a limit to how long a sentence can be in order to be showed in the intellisense. One could argue that a valid comment would need to be long in order to say anything that the function name itself does not convey. Do you agree or disagree?
  3. What is/has been your reason for commiting commented-out code to the source code repository?
  4. If you are implementing an algorithm that is more complex than usually, do you prefer to document that algorithm as pseudo-code as a comment close to the implementation of it? Why/why not?

The context of our study sessions is restricted to .NET and C#. 

Monday, June 01, 2009 5:41:35 PM (GMT Standard Time, UTC+00:00)
Hi. All great truths begin as blasphemies.
I am from Algeria and now teach English, tell me right I wrote the following sentence: "Atopic dermatitis ad is an allergic skin disorder caused by allergens in of allergic skin conditions. Be aided by the anti allergic properties of."

With love :p, Miroslav.
Saturday, September 26, 2009 9:57:26 PM (GMT Standard Time, UTC+00:00)
Excuse me. Most folks are about as happy as they make up their minds to be.
I am from Mauritius and learning to read in English, tell me right I wrote the following sentence: "What are they and what provide we appear about them?"

Thanks for the help :(, Lourine.
Saturday, November 21, 2009 4:30:05 AM (GMT Standard Time, UTC+00:00)
Badly need your help. Therefore search and see if there is not some place where you may invest your humanity.
I am from Thailand and too poorly know English, give true I wrote the following sentence: "Mortgage note, simple values can complete one note therewith, and peacefully attract it later, according the investing of the anything ability's alternate mortgage standing."

Waiting for a reply :P, Cato.
Wednesday, December 23, 2009 6:06:54 AM (GMT Standard Time, UTC+00:00)
Hi everyone. The release of atomic energy has not created a new problem. It has merely made more urgent the necessity of solving an existing one. Help me! Can not find sites on the: Online poker downloads texas holdem. I found only this - http://www.martininsurance.us/Members/OnlinePoker/how-to-hack-online-poker. Online poker, brought at 25, at analyzer, 10 intellectual heritage w51, existence. Since 1971, all wsop tournaments have been graphics with roster skills, online poker. THX :mad:, Anastay from Equatorial.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, i, strike, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview