💾 Archived View for flexibeast.space › gemlog › 2022-07-25.gmi captured on 2024-02-05 at 09:41:11. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-28)
-=-=-=-=-=-=-
i occasionally encounter a situation in which foss users, noting or complaining about the lack of documentation for a piece of software - whether an end-user application or a developer library - get told by the software dev(s) to write it themselves.
This feels _ridiculous_ to me. Someone reaching for documentation is doing so because _they don't know_ how to use some software, whether an application or a library. Since _they don't know_ how to use the software, they are _not able to document how to use it_!
Presumably the idea is that application users should faff around, experiment, find what works and what doesn't. And that library users should do the same, or read the library source. There are a few problems with this:
Some devs make the argument that if they spent their time writing documentation, they wouldn't have as much time to work on the software itself, or that if they _had_ to write documentation, it would decrease their enthusiasm for working on the software overall[a]. Okay; they get to choose how to spend their time. But that doesn't necessitate telling users to write the documentation themselves! Devs could simply say e.g. “I find working on documentation to be too much of a chore, sorry.” And preferably: “.... but I'll try to support you if you'd like to work on it yourself.” (As someone who can actually _like_ writing documentation, i've found it frustrating when i _try_ to do so for a given project, only to face a lack of concrete support from the relevant dev(s).)
At any rate, i use a dev's attitudes towards documentation as something of a measure of how supportive they are of users, and the extent to which i should rely on their software. A dev who would rather avoid spending five minutes on writing documentation, rather than effectively forcing five users to each spend five minutes trying to work out how to do something, certainly has the right to do so; but then i have to weigh up whether the benefits of using their software will outweigh the possible costs when the software becomes a hindrance rather than a help.
Larry Wall, creator of the Perl programming language and patch(1), wrote that the first of the three great virtues of a programmer is ‘laziness’[b]:
The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it.
☙
🏷 dev,documentation,ict
☙
[a] And there are possibly other reasons as well:
The vast majority of my time as a documenter of groff is spent on the discipline of crafting _English_, not markup.
But you can't get this message through to a lot of people. Writing English doesn't seem to them like something that will impress anyone reading their résumé. And, to be sure, for a lot of the people they're trying to get jobs from, they're right.
— https://lists.gnu.org/archive/html/groff/2022-07/msg00143.html
[b] The other two great virtues are ‘impatience’:
The anger you feel when the computer is being lazy. This makes you write programs that don't just react to your needs, but actually anticipate them.
and ‘hubris’:
Excessive pride, the sort of thing Zeus zaps you for. Also the quality that makes you write (and maintain) programs that other people won't want to say bad things about.