• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Code Comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Comments


  • Subject: Re: Code Comments
  • From: Dov Rosenberg <email@hidden>
  • Date: Tue, 15 Aug 2006 23:09:45 -0400
  • Thread-topic: Code Comments

Title: Re: Code Comments
I am an old fashioned programmer. I usually write comments to describe what I am GOING to do before I actually do the code. Then I just fill in the code. Helps me organize my thoughts better.

I do something like:

/** This is the documentation of what this thing is supposed to do
**/
Public String goDoSomething(){
    // initialize my variables

    // get array of things

    // cycle thru array and update each item

    // save changes, build response

}

Then I actually go back and write the code after I get the sequence of events in the correct order. Most of the time I usually stub out the entire class before I implement it.


--
Dov Rosenberg
Conviveon/Inquira
Knowledge Management Experts
http://www.conviveon.com
http://www.inquira.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Code Comments
      • From: Q <email@hidden>
    • Re: Code Comments
      • From: Ian Joyner <email@hidden>
References: 
 >Re: Code Comments (From: Ian Joyner <email@hidden>)

  • Prev by Date: Re: Code Comments
  • Next by Date: Re: Code Comments
  • Previous by thread: Re: Code Comments
  • Next by thread: Re: Code Comments
  • Index(es):
    • Date
    • Thread