Everything about Comment (computer programming)
Text in computer source code that is generally ignored by a compiler/interpreter
In computer programming, a comment is text embedded in source code that a translator ignores. Generally, a comment is an annotation intended to make the code easier for a programmer to understand – often explaining an aspect that is not readily apparent in the program (non-comment) code. For this article, comment refers to the same concept in a programming language, markup language, configuration file and any similar context. Some development tools, other than a source code translator, do parse comments to provide capabilities such as API document generation, static analysis, and version control integration. The syntax of comments varies by programming language yet there are repeating patterns in the syntax among languages as well as similar aspects related to comment content. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Comment (computer programming)A 5-minute orientation
- Pick up a classic book: Financial auditThe most-reprinted book on the subject
- Go sideways: Comparison of programming languages (syntax)A closely related topic
- Go sideways: Off-side ruleA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🏆 Landmark papers (most cited)
- No matching papers found.
📚 Books worth reading
- 📕Financial auditUnited States. General Accounting Office · 1943
Software EngineeringRoger S. Pressman, Bruce Maxim · 1982
C++ how to programHarvey M. Deitel, Paul J. Deitel · 1992
Java How to ProgramHarvey M. Deitel, Paul J. Deitel · 1997
Java software solutionsLewis, John, John E. Lewis Ph. D. · 1997
C How to ProgramPaul J. Deitel, Harvey M. Deitel · 2007
The InnovatorsWalter Isaacson, Francisco José Ramos Mena · 2014
Eloquent JavascriptMarijn Haverbeke · 2009
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Comparison of programming languages (syntax) This article compares the syntax of many notable programming languages. Programming language expressions can be broadly classified into four syntax structures:…
- Off-side rule The off-side rule describes syntax of a computer programming language that defines the bounds of a code block via indentation. The term was coined by Peter…
- String literal A string literal or anonymous string is a literal for a string value in source code. Commonly, a programming language includes a string literal code construct…
- Python syntax and semantics The syntax of the Python programming language is the set of rules that defines how a Python program will be written and interpreted (by both the runtime…
- Code folding Code or text folding, or less commonly holophrasting, is a feature of some graphical user interfaces that allows the user to selectively hide ("fold")…
- Doxygen Doxygen (/ˈdɒksidʒən/ DOK-see-jən) is a documentation generator that works with many programming languages. It extracts information from specially-formatted…
- Programming style Programming style, also known as coding style, refers to conventions and patterns used in writing source code, resulting in a consistent and readable codebase…
- Jinja (template engine) Jinja is a web template engine for the Python programming language. It was created by Armin Ronacher and is licensed under a BSD License. Jinja is similar…