Lably
Skip to content

Self-documenting code

Source code written to enable use by others without prior experience

  • 2 min read
  • 5 chapters

Related on Lably

Through Computer programming, User interface and Structured programming

Objectives

Commonly stated objectives for self-documenting systems include:

  • Make source code easier to read and understand
  • Minimize the effort required to maintain or extend legacy systems
  • Reduce the need for users and developers of a system to consult secondary documentation sources such as code comments or software manuals
  • Facilitate automation through self-contained knowledge representation

Sign in to keep reading

4 more chapters are free with a Lably account.

More in From Lably lessons