Jump to content

Comment //?


eduard

Recommended Posts

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

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...