(computer science) A sequence of programming statements that are simple and straightforward and can be readily implemented by another programmer.
| Sci-Tech Dictionary: self-documenting code |
(computer science) A sequence of programming statements that are simple and straightforward and can be readily implemented by another programmer.
| 5min Related Video: self-documenting code |
| Computer Desktop Encyclopedia: 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.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| pair programming (technology) | |
| documentation (technology) | |
| Self-documenting |
| Can you probe your self if ther is no documents? Read answer... | |
| What is a hypertext document coded in? Read answer... | |
| Excess-3 code is known as self complimentary code why? Read answer... |
| What was the first document that had self goverment? | |
| What is document unitizing and coding? | |
| What is the best way to code documents? |
Copyrights:
![]() | Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved. Read more | |
![]() | Computer Desktop Encyclopedia. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher. © 1981-2010 The Computer Language Company Inc. All rights reserved. Read more |