Comment programming (original) (raw)
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 it might be needed. 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 implement
Property | Value |
---|---|
dbo:abstract | 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 it might be needed. 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. A lot of programmers' code acts as a fingerprint. Most of the time, it is sloppy and can be hard to dissect. Even experienced programmers write sloppy code. Comments guide and provide context for the user. Comments can also serve as placeholders for future work. They are useful when constructing outlines of large programs. (en) |
dbo:wikiPageExternalLink | http://msdn.microsoft.com/sv-se/default.aspx |
dbo:wikiPageID | 20513631 (xsd:integer) |
dbo:wikiPageLength | 2751 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 1116162811 (xsd:integer) |
dbo:wikiPageWikiLink | dbr:April_Fools'_Day dbr:Design_pattern dbr:Comment_(computer_programming) dbr:Event_handler dbr:Source_code dbc:Software_development_philosophies dbr:Code_refactoring dbr:Software_development dbr:Class_(computer_science) |
dbp:wikiPageUsesTemplate | dbt:Reflist dbt:Short_description dbt:Compu-prog-stub |
dcterms:subject | dbc:Software_development_philosophies |
gold:hypernym | dbr:Technique |
rdf:type | dbo:TopicalConcept yago:WikicatSoftwareDevelopmentPhilosophies yago:Abstraction100002137 yago:Belief105941423 yago:Cognition100023271 yago:Content105809192 yago:Doctrine105943300 yago:PsychologicalFeature100023100 |
rdfs:comment | 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 it might be needed. 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 implement (en) |
rdfs:label | Comment programming (en) |
owl:sameAs | freebase:Comment programming yago-res:Comment programming wikidata:Comment programming https://global.dbpedia.org/id/4hySx |
prov:wasDerivedFrom | wikipedia-en:Comment_programming?oldid=1116162811&ns=0 |
foaf:isPrimaryTopicOf | wikipedia-en:Comment_programming |
is dbo:wikiPageDisambiguates of | dbr:Comment |
is dbo:wikiPageWikiLink of | dbr:CDD dbr:Comment |
is foaf:primaryTopic of | wikipedia-en:Comment_programming |