Single-line comment and multi-line comment syntax in Perl
This article mainly introduces single-line and multi-line annotation syntaxes in Perl. It also describes the single-line and multi-line annotation syntaxes in other common programming
This article mainly introduces the single-line annotation and multiline annotation syntax in Perl, and also explains the single-line annotation and multiline annotation syntax of other common programming languages, and the friends who need it can
Java provides three types of comments:
Single-line (c ++-style) CommentsThe simplest comment in Java is the single line comment. It starts with two forward slashes and continues to the end of the line. For example:Figure 1: single-line
PHP learning Notes (1): Mark, blank, and comment of basic syntax, and learn the basic syntax of notes. PHP learning Notes (1): Mark, blank, and comment of basic syntax; basic syntax of learning Notes 1. PHP markup 1. code for copying XML styles:
This time brings you PHP comments syntax specification and naming specification use steps to explain, PHP annotation syntax specification and naming standard use of considerations, the following is the actual case, together to see.
HP Annotation
In this article we will share the PHP comment syntax and naming conventions, and we know that annotations are very important in writing code, that good annotations make your code easier to read, and that you pay attention to the specification of
Crazy Java handout (version 3rd). (Li Gang) -- Comment
1. Necessity of annotation:1) You or others can easily understand the process and ideas of this code when restructuring the system.2) increase the readability of your code.3) When an error
HTML comment
Display a comment on the client.
JSP syntax
] -->
Example 1
Generate the same data as the above in the HTML source code of the client:
Example 2
-->
In the HTML source code of the client, it is displayed:
Description
This
Phpdocumentor is a powerful code comment generator, which is a simple summary of each parameter:@abstract-------------Use the @abstract tag to declare a method that a class variable or class must redefine in a subclass that is valid.@abstract--------
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.