Jump to content

Comment //?


eduard
 Share

Recommended Posts

the developer. The primary reason being to comment the script. This may included notes, explanations, author credentials, and legal declarations/disclaimers.

  • Like 1
Link to comment
Share on other sites

It is not always easy to look at a section of code and understand what its purpose is. You can add a comment to explain it. You can easily forget what your intention was after just a few days or weeks.When you are developing a program and it is not finished, comments can help you keep track of things that need to be improved, and also things that you are planning to do but have not done yet.When programs get long, it can be useful to add comments that describe what a large section of the code is supposed to do. Every long section might begin with a comment.People who work for software companies must assume that other programmers will work on their code someday. Comments are especially helpful to other people. Most software companies require programmers to add comments that explain exactly what a function does, what values are expected as arguments, what kind of data is returned, who wrote the function, and the date of the last revision.You may wish to publish a program that can be useful to a lot of other people, like a program that sends email. Adding comments in the code can explain to developers using your code what data needs to be customized and what data should not be changed.

Edited by Deirdre's Dad
Link to comment
Share on other sites

It is not always easy to look at a section of code and understand what its purpose is. You can add a comment to explain it. You can easily forget what your intention was after just a few days or weeks.When you are developing a program and it is not finished, comments can help you keep track of things that need to be improved, and also things that you are planning to do but have not done yet.When programs get long, it can be useful to add comments that describe what a large section of the code is supposed to do. Every long section might begin with a comment.People who work for software companies must assume that other programmers will work on their code someday. Comments are especially helpful to other people. Most software companies require programmers to add comments that explain exactly what a function does, what values are expected as arguments, what kind of data is returned, who wrote the function, and the date of the last revision.You may wish to publish a program that can be useful to a lot of other people, like a program that sends email. Adding comments in the code can explain to developers using your code what data needs to be customized and what data should not be changed.
Very clear! Thanks very much!
Link to comment
Share on other sites

the developer. The primary reason being to comment the script. This may included notes, explanations, author credentials, and legal declarations/disclaimers.
Thanks!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...