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
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
1000⼈規模のClaude Enterprise運⽤を「Oktaのグループ」と「Slack」に集約する
sansantech
PRO
0
420
Oracle AI Databaseデータベース・サービス: BaseDB/ExaDB-Dの可用性
oracle4engineer
PRO
1
920
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
77k
Microsoft MVP プログラムを紹介するから目指す人増えてくれ
tsubakimoto_s
0
120
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
110
IHV like なユースケースへのOpenID Connect 関連仕様の適用事例
optim
0
310
顧客の要望は2次情報である 〜アンテナを張るFDEの構造論〜
noriakioji
2
890
dbt in Microsoft Fabric
ryomaru0825
0
260
AIで変わるエンジニアの働き方(仮)
naoinaoi
0
570
8bit CPU 2026
koba789
7
2.9k
AWSとAzureのマルチクラウド活用における強い味方___AWS_Kiroを使った二刀流スキル作成.pdf
duelist2020jp
0
110
EUDIWの枠組みを出発点に民間エコシステムの在り方を考える(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
300
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
GraphQLとの向き合い方2022年版
quramy
50
15k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.5k
Embracing the Ebb and Flow
colly
88
5.1k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Ethics towards AI in product and experience design
skipperchong
2
350
Faster Mobile Websites
deanohume
310
32k
Product Roadmaps are Hard
iamctodd
55
12k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
440
Build your cross-platform service in a week with App Engine
jlugia
234
19k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
250
Building the Perfect Custom Keyboard
takai
2
850
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