Skip to content

Commit 46dbdfd

Browse files
committed
A couple more slides.
1 parent 840756a commit 46dbdfd

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

doc/neup-qa-doc.rst

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,16 @@ The code must be stable for a comprehensive user's guide.
109109

110110
Developer Guides
111111
================
112-
Developer guides are very similar to user's guides except that they assume a
113-
basic mastery of the project. They are typically for people who want to *become*
114-
developers on a project rather than for existing developers. They are probably
115-
most important for code projects that have plugin architectures and where the
112+
Assume a basic mastery of the project.
113+
114+
.. break
115+
116+
They are typically for people who want to *become*
117+
developers on a project rather than for existing developers.
118+
119+
.. break
120+
121+
Most important for code projects that have plugin architectures and where the
116122
line between user and developer is less well defined.
117123

118124
**Examples:** `Android`_, `Python`_.
@@ -123,18 +129,17 @@ line between user and developer is less well defined.
123129

124130
Self-Documenting Code
125131
=====================
126-
Much like in testing where you can simply write perfect code the first time,
127-
there is an analogous philosophy is documentation. This is the philosophy of
128-
`self-documenting code`_. This ethos makes the claim that it is often
129-
possible to write code in such a way that new readers can understand what the
132+
The `self-documenting code`_ claim is that it is often
133+
possible to write code such that new readers can understand what the
130134
code does simply by reading it. Therefore, no extra documentation is required.
131135
It is all there in the code itself.
132136

133-
While there are obvious pitfalls with this approach (assumed knowledge on the
134-
reader's behalf, unavoidable complexities, etc) there are some merits. By
135-
having meaningful naming conventions and structure it does become possible to
136-
infer a lot about a code just by glancing at it. Coding standards come from the
137-
same desire to have readable software.
137+
.. break
138+
139+
Obvious pitfalls, but some merits in terms having meaningful naming conventions,
140+
structure, and overall readable software.
141+
142+
.. break
138143
139144
However using this documentation strategy exclusively is *highly* inadvisable.
140145

0 commit comments

Comments
 (0)