You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/blog/posts/advantages-of-software-documentation.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ categories:
9
9
- documentation
10
10
tags:
11
11
- documentation
12
-
draft: true
12
+
draft: false
13
13
---
14
14
15
15
@@ -36,33 +36,36 @@ As well as making the code base more useful, creating documentation on a regular
36
36
37
37
* write better code - code tends to be much clearer if the person writing it has writing skills (better choice of names, smoother flow, more organised)
38
38
* retain more knowledge in a persistent storage service (blog, tutorial, notes)
39
-
* share knowledge with others
39
+
* share knowledge with others effectively
40
40
* minimise the need to answer the same questions over again
41
41
* get feedback from others
42
42
* become a more productive team as learning is shared and not redone over and over again
43
43
44
44
45
-
Figuring out someone elses code by itself adds a lot of overhead
45
+
!!! WARNING "Overhead of poor or no documentation"
46
+
Figuring out someone else's code by itself adds a lot of overhead and that someone else can also be you a few months (or even weeks) ago.
46
47
47
48
48
49
## Typical excuses
49
50
50
51
Most excuses not to write documentation really come from discomfort and even fear about a persons writing ability. Ironically this is often quite a rational fear as writing good documentation is another skill to learn.
51
52
52
-
If developers take on the challenge of learning the skill of writing good documentation to the extent they do writing code, then they would soon be writing good quality code very quickly. Then all of these excuses are mute
53
-
54
53
* dont have time - documentation saves a huge amount of time overall
55
54
* not paid to write docs - actually you are paid to create projects that other people can work on readily (without docs then people on-boarding to a project spend a lot more time reading the code - and probably end up rewriting it so they understand it)
56
55
57
56
* documentation doesnt keep up with code changes - an extension to the dont have time excuse. If the thoughts in a persons head are written down succinctly or a summary of changes to be done to code then is just as easy to update the docs when changing the code. Actually updating the docs is a valuable way to ensure a person understands the changes they are going to make (saving time debugging a system or dealing with issues by lack of understanding)
58
57
59
58
* dont like tool x, its slow - a very poor excuse. Notes can be written as text / markdown / org whist writing code and then pushed to what ever collaborative knowledge share tool is used. Doc tools are like any other coding tools,
60
59
61
-
*i dont get paid enough - a systemic problem meaning a person feels significantly undervalued within the company, therefore it is likely that most of their work will be of just enough quality to work but relatively challenging to work with.
60
+
*I dont get paid enough - a systemic problem meaning a person feels significantly undervalued within the company, therefore it is likely that most of their work will be of just enough quality to work but relatively challenging to work with.
62
61
63
62
* code is the documentation - a mixture of insecurity about docs and/or lack of experience of software development overall. They have not make the connection that documentation provides a way to quickly recall previous experiences and build a greater level of skills.
64
63
65
64
65
+
!!! TIP "Practicing writing skills overcomes excuses"
66
+
When developers take on the challenge of learning the skill of writing good documentation, to the same extent they do writing code, then writing good quality code becomes far easier very quickly. Then all of the common excuses become mute.
0 commit comments