Comment programming

Comment programming, also known as comment-driven development (CDD) is a (mostly) satirical software development technique that is heavily based on commenting out code.

In comment programming the comment tags are not used to describe what a certain piece of code is doing, but rather to stop some parts of the code from being executed. The aim is to have the commented code at the developer's disposal at any time he might need it. This is especially useful when the requirements change rapidly. In this case they happen to revert to older versions of themselves, thus making the programmer either write the code again, or revert parts of the code from the versioning repository, which would be more time-consuming. With comment programming, when such a request for reverting to an old implementation arises, the developer just comments the current implementation and uncomments the previous. It is advisable to add short descriptive comments to blocks of commented code.

Practical uses

Comment (computer programming)

In computer programming, a comment is a programmer-readable annotation in the source code of a computer program. They are added with the purpose of making the source code easier to understand, and are generally ignored by compilers and interpreters. The syntax of comments in various programming languages varies considerably.

As well as of direct use to any programmer reading the source code, comments are sometimes processed in various ways to generate documentation external to the source code itself by documentation generators, or used for integration with source code management systems and other kinds of external programming tools.

The flexibility provided by comments allows for a wide degree of variability, but formal conventions for their use are commonly part of programming style guides.

Overview

Comments are generally formatted as either block comments (also called prologue comments or stream comments) or line comments (also called inline comments).

Block comments delimit a region of source code which may span multiple lines. This region is specified with a start delimiter and an end delimiter. Some programming languages (such as MATLAB) allow block comments to be recursively nested inside one another, but others (such as Java) do not.

Podcasts:

PLAYLIST TIME:

Latest News for: comment programming

Edit

Jim Chalmers says Coalition hints at aggressive NDIS cuts will ‘send a shiver up the spine’ of recipients

The Observer 23 Mar 2025
The Coalition has hinted at a more aggressive approach to containing the cost of the National Disability Insurance Scheme (NDIS) in comments treasurer Jim Chalmers says would “send a shiver up the spine” of people relying on the $47bn program.
Edit

India’s $23bn plan to rival Chinese firms set to lapse

Dawn 23 Mar 2025
Modi’s office and the commerce ministry, which oversees the program, did not respond to requests for comment ... Foxconn, which now employs thousands of contract workers in India, and Reliance didn’t return requests for comment.
Edit

Capital Gazette 2025 high school softball preview: As the sport blooms, so do the pitchers

Baltimore Sun 23 Mar 2025
As a first-year program, it would be understandable if Severn Run struggled to field one team, let alone two ... Coach’s comment ... Coach’s comment ... Coach’s comment ... Coach’s comment ... Coach’s comment ... Coach’s comment ... Coach’s comment ... Coach’s comment.
Edit

How to find Social Security information on its social media channels | KYLLE' D. MCKINNEY

Tuscaloosanews.com 23 Mar 2025
We invite you to learn about our programs and services on our social media pages.. Our Social Security Blog – Here we post articles about our program, current events, and online services. We respond to general questions and comments people share.
Edit

Larry Rubama: Former Norfolk State athletic director enjoys the (14-hour) ride to track coaches he hired

Daily Press 23 Mar 2025
Miller said it was important to support both programs ... It also shows where this program has grown ... I think we’re in a good place athletically now,” said Miller, who also commented about the success of the track and field programs.
Edit

Careless People, Meta, and Restricting the Digital Town Square

Dissident Voice 23 Mar 2025
The arbitrator, Nicholas Gowen, for Meta, enjoining Wynn-Williams, along with people or entities “for which she controls” from making “disparaging, critical or otherwise detrimental comments” about the company, its employees, products and programs.
Edit

The Community Spotlight 2025.03.22

Giant Bomb 23 Mar 2025
If you have any thoughts or concerns about the current programming, feel free to drop a comment and I will try to send your feedback to the appropriate channels ... How would you spend your money? Share away in the comments!Video.
Edit

Lakes area could use more outdoor AEDs

Brainerd Dispatch 23 Mar 2025
But there is one thing this area could use more of — Automated External Defibrillator (AED) smart cabinet outdoor devices ... Cloud ... For more information on the Advocates for Health program, you can view their website at advocates4health.org . Comments ... .
Edit

The Trump administration’s climate policies jeopardize research in disaster-prone Puerto Rico

Grist 23 Mar 2025
The chemist expressed concern about potential program cancellations that support research on finding renewable solutions for generating electricity ... Program directors do not comment on activities outside of the purview of the panel.
Edit

How does Taylor Swift keep up her Reputation? Pop princess's pals are embroiled in scandal ...

The Daily Mail 23 Mar 2025
The judge said King, 45, must have her visits with her sons supervised until she finishes a mandated drug/alcohol program that lasts around six months. Dailymail.com had at the time reached out to Newman for comment on the latest developments.
Edit

Agendas

Brainerd Dispatch 23 Mar 2025
Brainerd HRA Board of Commissioners. Meets 1 p.m. Wednesday, March 26. Brainerd City Hall Council Chambers. 501 Laurel St., Brainerd. 1. CALL TO ORDER. 2. ROLL CALL. ADVERTISEMENT. 3. REVIEW AND APPROVE AGENDA. a ... 4 ... a ... Rehab Programs Report ... COMMISSIONER COMMENTS ... .
Edit

Nova Scotia legislators vote unanimously to scrap electric car rebates for Tesla

Toronto Sun 22 Mar 2025
The Progressive Conservative government joined with the NDP and Liberal opposition parties in a vote dropping the electric automaker from the rebate program, which provides subsidies that range from $2,000 to $3,000 per purchase.
Edit

Commerce boss says 'fraudsters' complain about missing social security, not honest people

Usatoday 22 Mar 2025
Bernie Sanders, D-Vt., blasted Lutnick as an out of touch billionaire Friday night for his comments and defended Americans who rely on the government program ... His comments at the time sparked concern ...
Edit

Maryland coach Kevin Willard says 'there is no situation' at school shortly before AD's departure

Newsday 22 Mar 2025
Willard compared an outlet that covers his program to the tabloid TMZ a day after his initial comments, which came during a pre-practice news conference on Thursday ... The comments, which were remarkably ...
Edit

Maryland coach Kevin Willard says ‘there is no situation’ at school shortly before AD’s departure

Wtop 22 Mar 2025
Willard compared an outlet that covers his program to the tabloid TMZ a day after his initial comments, which came during a pre-practice news conference on Thursday ... The comments, which were remarkably ...
×