0
Comments
why we use comments since they are not displayed in pogram runtime
4 odpowiedzi
+ 7
Programmers frequently pass program files between other developers on the same dev team. Comments help clarify why something was written the way it was and/or how to use it correctly. Whoever may be managing the program in the future (including yourself!) might be glad to have the comments, too.
Documentation is usually necessary as well in a workplace. Developer name(s), date/time of writing, company name, purpose of the program, etc. may be documented inside the source code.
+ 2
Commenting involves placing Human Readable Descriptions inside of computer programs detailing what the Code is doing. Proper use of commenting can make code maintenance much easier, as well as helping make finding bugs faster. Further, commenting is very important when writing functions that other people will use.
+ 1
to understand functionality.
+ 1
thanks everybody