About 14,700,000 results
Open links in new tab
  1. Concept of Comments in Computer Programming

    Aug 29, 2018 · Comments are text notes added to the program to provide explanatory information about the source code. They are used in a programming language to document the program and remind programmers of what tricky things they just did with the code and also helps the later generation for understanding and maintenance of code.

  2. Comment (computer programming) - Wikipedia

    In computer programming, a comment is text embedded in source code that a translator (compiler or interpreter) 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. [1]

  3. What Are Comments In Programming – Complete Guide

    Nov 19, 2023 · Comments in programming are annotations in the source code that are not executed by the compiler or interpreter. They are written and included by programmers to describe the functionality, purpose, or intricate logic of the code.

  4. Coding and Comment Style : Broad Institute of MIT and Harvard

    This article will discuss how to use effective naming, structuring, context, and comments to communicate your logic in an easy-to-use code. Coding styles come in many shapes and sizes, but good ones derive from the same fundamental principles and possess a few key properties.

  5. Programming - Commenting - University of Utah

    Commenting is the "art" of describing what your program is going to do in "high level" English statements. Commenting is best done before actually writing the code for your program. Comments are specially marked lines of text in the program that are not evaluated. There are usually two syntactic ways to comment.

  6. Example of Adding Comments in 15 Programming Languages

    Jan 17, 2025 · What are comments in programming? Comments in layman terms are pieces of text that will not be visible to end-users and are for the reference of people who are writing code. A bit more formally, A comment is a description of a program about how it works in a simple readable format.

  7. Guide to Code Commenting

    Code commenting is the practice of sprinkling short, normally single-line notes throughout your code. These notes are called comments. They explain how your program works, and your intentions behind it. Comments don’t have any effect on your program, but they are invaluable for people reading your code.

  8. How to Use Comments to Document and Clarify Your Code

    Comments are non-executable lines of text within your code that provide explanations, documentation, and clarity for both you and other developers who may work on the project in the future.

  9. What is a Comment? - Computer Hope

    May 1, 2023 · Comments help make code easier to understand by explaining what is happening and prevent portions of a program from executing. The image is an example of an HTML comment. See our nonexecutable statement page for a full definition and further examples of comments in programming. What is comment out?

  10. The Art of Effective Code Commenting: A Comprehensive Guide

    Comments are essential for making your code more readable, maintainable, and understandable, not just for others but also for your future self. In this comprehensive guide, we’ll explore the art of effective code commenting, providing you with valuable tips and best practices to elevate your coding skills. Why Are Code Comments Important?

  11. Some results have been removed