Are the comments in the program included in the compilation?

藏色散人
Release: 2020-05-06 15:21:34
Original
6768 people have browsed it

Are the comments in the program included in the compilation?

Does the comment part in the program participate in compilation?

The comment part in all programming languages ​​​​does not participate in compilation, nor does it They will not appear in the target program. Comments are only made to make it easier for programmers to understand the program.

Its function is to give the code an annotation, so that other programmers who read your code can understand the meaning of each statement.

Related introduction:

Comments are explanations and descriptions of the code, and their purpose is to make it easier for people to understand the code. Comments are when the programmer writes an explanation or hint for a statement, program segment, function, etc., which can improve the readability of the program code.

Comments are only for readability and will not be compiled by computers.

The above is the detailed content of Are the comments in the program included in the compilation?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template