TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Self-Documenting Software

4 pointsby tapanjkover 2 years ago

1 comment

dalyover 2 years ago
Literate programming is excellent for both explanation and documentation. Not only are the various code blocks explained and documented, they contain the actual sources used to build the program.<p>Think of source code like equations in a physics textbook. Mostly, when you need a documentation you read the surrounding paragraphs. When you need an explanation you read the whole chapter.<p>We need to drag programming out of the punched-card era.