In Depth Software Development Strategies, Tip 1: Commenting
Wednesday, 1. February 2012
I’ve invested the previous few of times understanding a manufacturer new personal computer language, PHP. I’m at present while in the procedure of building an on the web direction system, and soon after a cautious anaylsis PHP seemed to get the best words to acquire with.
So I are actually heading via some tutorials and searching at a great offer of coding examples. coding examples. like a fairly experianced programmer, I am nevertheless possessing a difficult time knowing some code produced by other people.
Which qualified prospects me for the 1st idea on this series.
The pursuing coding idea is really directly forward, but vital to maintaining you efficient while in the information and facts engineering Industry, specially when functioning in the group enviroment
1. Comment your code:
If anybody is heading to get reviewing your code at any place in time, you might at all times leave right commets to aid information them. right here is how I framework my commenting, lets use JAVA for this instance /////////////////////////////////////////
// name of plan Author’s Name
// day of creation
//
//Breif explanation within the program
/////////////////////////////////////////
public school TestClass
{
//Variables
protected int iCounter;
//Here is exactly where you would record all of your worldwide variables
//Methods record all of the procedures soon after this for excellent programing structure
////////////////////
// main(String args [])
// Do: What could be the principal purpose with this technique // Input: What is brought to the method
// Returns: What the technique returns
public static void main(String args[])
{
//
}//End principal Method–