Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to Document Well*
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Asher Glick
January 30, 2013
Technology
81
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
Other Decks in Technology
See All in Technology
AI駆動開発はどこまで来たのか? ファインディの最新実態調査で読み解く現在地 Devin Con Tokyo
akiratom
2
1.4k
「ミスを許さない手順書」を作ってみた 〜 個人的にはこれ以上できることはあまりなさそう/20260827-ssmjp-operation-procedure-update
opelab
5
3.6k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
20k
OpenID for Verifiable Credentials 実装から見えた相互運用性確保までの道のり(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
320
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
internal/testlog で遊ぼう
rokuosan
0
250
アクセスキー流出時の対応で再認識した攻撃側と防御側の非対称性について
kazzpapa3
0
350
電話に出る Python のログの話
shinnosuke_kishida
0
270
VLMで2.3万枚のPyCon JP写真を検索!
terapyon
1
610
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
54k
AI駆動開発を組織で促すために
lycorptech_jp
PRO
4
6.2k
RelayerというPHPのフレームワークを作った
polidog
PRO
0
150
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
40k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
Six Lessons from altMBA
skipperchong
29
4.5k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Abbi's Birthday
coloredviolet
3
9.5k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Code Reviewing Like a Champion
maltzj
528
40k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
480
Transcript
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