Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How to Document Well*
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Asher Glick
January 30, 2013
Technology
82
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to Document Well*
Version 1 of how to document programs well
Asher Glick
January 30, 2013
Transcript
17 slides
How to Document Well* Asher Glick V1.0
Three Key Parts to Documenting Understandable Comments in Code Provide
Screenshots or Pictures Wiki pages or Document Pages Install instructions or Setup How to use the program Dev environment Setup
Understandable Comments in Code When people are reading your code,
including yourself, they need to be able to understand what the code does without analyzing each line of code
Understandable Comments in Code Don't Comment Every Line This is
worse than no comments because now whomever is reading the code has to read twice as many lines
Understandable Comments in Code Don't only comment parts you don't
understand You will forget even the lines you did understand
Understandable Comments in Code Write a short statement what each
function does If you see that function called you can easily figure out what it does
Understandable Comments in Code Write a short statement what each
function does If that function is spitting out the wrong result you can easily discover that it is the problem
Understandable Comments in Code Write a short statement for large
blocks of code or conditional statements Because those should really be separate functions
Provide Screenshots or Pictures Screenshots help the user decide if
they want to use the program before they download or install it
Provide Screenshots or Pictures Screenshots help developers figure out what
is wrong when they see something that is out of place
Provide Screenshots or Pictures Don't provide fake screenshots or UI
that does not exist This confuses users disappoints them when they install or use the software They can be used as a "planned feature mockup" with proper identification
Wiki Pages or Document Pages The first three pages of
documentation 1) Install instructions or Setup 2) How to use the program 3) Dev environment Setup
The most important page! Wiki Pages or Document Pages Install
instructions or Setup
Wiki Pages or Document Pages Install instructions or Setup If
the user does not know how to get the program on their computer they can't fathom using it
Wiki Pages or Document Pages How to Use the Program
The user must know how to use the program How can they use it if they don't know how
Wiki Pages or Document Pages Developer Environment Setup After the
end-users are taken care of make sure the developers know how to setup the environment to develop in
Next Version (2.0) Examples with and without good comments Pictures
(Screenshots) because I said I should Example documentation pages Better Graphics, less words
Other Decks in Technology
See All in Technology
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
280
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
150
速くなった開発の効果をどう推し量るのか
bulbulpaul
0
120
Kiro アップデート 2026 年 11 月号 (11 月 8 日時点) | 目指せ Kiro マスター アップデート編
inariku
PRO
2
140
[関西Kaggler会 20261113] 続・コミュニティコンペのススメ
nejumi
0
110
_マネジメントする人される人ナイト_2026__良いチームを作っていきたい_お気持ち_.pdf
xkxaxkx
0
670
速くなるほど、深く考える AI時代のQAに学ぶ
kobayashiyorimitsu
0
250
契約書SaaSにAIエージェントを組み込む
sansantech
PRO
0
160
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
330
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
170
Context parameters で作る!はじめての型クラス
kworkdev
PRO
0
120
Del vibe coding a un Desarrollo (agéntico) fiable
jcabot
0
100
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
464
34k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
680
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
530
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Evolving SEO for Evolving Search Engines
ryanjones
0
360
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
980
Embracing the Ebb and Flow
colly
88
5.2k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k