Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,821,355,960 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

self-documenting code
(redirected from Self-documenting)

   Also found in: Wikipedia 0.01 sec.

self-documenting code

Programming statements that can be easily understood by the author or another programmer. Some languages are inherently more self documenting than others. For example, to the novice, COBOL provides more self-documenting code than C.

It's Very Subjective
However, what one programmer thinks is self documenting may truly be indecipherable to another. For example, today's operating systems offer hundreds of programming interfaces (APIs) that the application may call. If programmers are familiar with those calls, they may feel that English commentary is unnecessary, because the API uses a logical name and is well documented by the OS vendor. However, in order to understand the code, a third party not familiar with the calls has to keep flipping back and forth from the application source code to the OS documentation, presuming it is readily available in the first place. A well-written line of English for each of these calls would be far more helpful.

Programmers tend to dislike documentation, and that is an understatement. Many simply do the barest minimum unless carefully supervised. Some do none at all if they can get away with it. See documentation.


self-documenting code [¦self ‚däk·yə‚ment·iŋ ′kōd]
(computer science)
A sequence of programming statements that are simple and straightforward and can be readily implemented by another programmer.


How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
It might be wise to develop a system where this information can be obtained -- either a self-documenting logbook or periodic contact by the medical staff to check in.
Similarly, it is self-documenting and offers interfaces for its use that allow designers to use it as a black box.
Also, because state machines are inherently self-documenting, they provide engineers with an intuitive way to organize vision applications and share information easily among colleagues.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2010 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.