0
Writing Comments
Do you actually have to write what it is for the code to work? For example would the document comment actually have to say âthis is a document commentâ I am using Java
3 Answers
+ 12
U don't need to write comments for a code to work , but sometimes to make understand others than what have U have done ... we need to write comments or To write informations like "author name , date etc" we write comments
+ 6
As Gaurav pointed out these comments are not only for the original developer but they are also for those who do system analysis and troubleshooting.
================
The more complexed the coding the more comments should be directed pointing to where or what is being engaged / firing especially were several languages and activities are involved.
+ 4
Code works without comments.
Comments are for the benefit of human developers reading the code. The Compiler will frankly ignore their existence.