|
|
Log in / Subscribe / Register

The thing nobody wants to pay for - documentation

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 8:21 UTC (Fri) by Wol (subscriber, #4433)
In reply to: The thing nobody wants to pay for - documentation by ejr
Parent article: The things nobody wants to pay for

The thing is, good writers are not good programmers. Good programmers do not good writers make.

I'm a jack-of-all-trades. Not a particularly good programmer, but then I can write decently. Not least, I appreciate documentation, therefore I try and write it.

But with something like FLOSS, which tends be written by lone programmers in basements (okay, I may exagerate a bit :-), who are the writers going to talk to, to learn what to write?

Plus, from what I've picked up elsewhere, the model that seems to work well is that programmers have to write some sort of documentation, and then the tech writers improve (edit, whatever) it. So much has been dumbed now - expensive workers are expected to be typists, etc etc, that the job of "technical writer" is seen as unnecessary, when in fact it's needed more than ever.

Cheers,
Wol


to post comments

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 12:01 UTC (Fri) by fwiesweg (guest, #116364) [Link] (13 responses)

> The thing is, good writers are not good programmers. Good programmers do not good writers make.

I tend to politely disagree. It's admittedly an observable fact, but that does not mean it has to stay this way. Writing, like programming, is a learnable skill and they have more in common than one would generally believe.

They're both about organizing ideas, about finding the right words for those ideas, and being harsh on oneself with respect to certain rules: use the same name for the same thing, dont use names which you have not introduced yet, dont write overly long paragraphs (functions). There are tons more, just ask your local writer's school, but these I actually find to be of most use.

It's just that there is no compiler/linter enforcing those rules and that we as an industry do not reward those skills. As highly functional lazy people, we tend to then simply not put effort into it, so most programmers don't write well.

As a part of our employee integration, I force newcomers to apply some of these rules (by simply not merging anything which they cannot explain in exact terms), and they actually improve as time passes. Leadership can make quite a difference here.

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 13:53 UTC (Fri) by khim (subscriber, #9252) [Link]

> Writing, like programming, is a learnable skill and they have more in common than one would generally believe.

Sure.

> It's admittedly an observable fact, but that does not mean it has to stay this way.

This depends on your goals, ultimately. There are only 24 hours in a day and 7 days in a week. And these may be spent on writing code or on writing documentation. Thus you may have good codes and awful documentation, or good documentation and awful code or so-so and so-so documentation.

Or you may have great code, great documentation… only all these goodies would arrive late. Sometimes it's even right thing to do. Think TeX and METAFONT. But most of the time that combo arrives too late to make a difference.

> Leadership can make quite a difference here.

Sure, but leadership couldn't squeeze more hours into a day or more days into a week.

Tech writing as a separate skill

Posted Jan 26, 2024 15:39 UTC (Fri) by farnz (subscriber, #17727) [Link]

My best experiences in terms of both codebase quality and also documentation quality have been in places that had dedicated tech writers who wrote English, instead of code. The workflow for all documentation was for developers to provide a quick overview, which the tech writers expanded into good documentation; however, if the tech writer was confused by your quick overview, they'd expect you to work with them to explain yourself.

As a consequence, you'd get feedback from the documentation process about the UX of the thing you were documenting; if a simple overview had the tech writers happy, then you'd get no request to explain yourself, but if you did something that was confusing, the tech writers would help you rearrange the API (or UI) into something that could be cleanly documented. For example, if I have a function that returns the number of bytes written, or -1 if the buffer supplied is too small, the tech writers would call me out on this and ask how the user is meant to find out how big the buffer should be.

The result was a better outcome via specialization; developers (my side) cared about the code while tech writers cared about the documentation, and we came together to make the documentation + code better in tandem.

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 15:40 UTC (Fri) by JohnMoon (subscriber, #157189) [Link]

> It's just that there is no compiler/linter enforcing those rules

You may be interested in Vale which I learned about recently: https://vale.sh/. It's sort of a linter for prose that can check for some of the things you mention.

The thing nobody wants to pay for - documentation

Posted Feb 22, 2024 5:46 UTC (Thu) by fest3er (guest, #60379) [Link] (9 responses)

[This is, perhaps, a little scathing in parts, but I tried to limit myself to a one inch brush, lest readers get the idea that I think the entire industry is an abject failure.]

"... Writing, like programming, is a learnable skill and they have more in common than one would generally believe. ..."

Writing is the *same* as programming. When one writes good software, she programs the system to execute it properly. When one writes good documentation, he programs the readers' neural nets to think correctly. It's all programming.

When coders, programmers, developers and engineers (and that entire industry, really) come around to this way of thinking, they will be able to write draft documentation that human communication experts (i.e., tech writers) can transform into manuals that the target audiences can read and easily understand, because those manuals will have programmed their neural networks to think correctly.
- User guide: "This is generally how you use the program, with lucid examples."
- Reference manual: "This is everything you can do with this program with examples and limits of
  every option and switch and how they interact."

QEMU is nice, but their documentation lags by 5-15 years. Systemd may be nice, but the documentation is all but non-existent. Netfilter do try, but their documentation, somewhat more than occasionally, is lacking, and not because English is not their primary language. IProute2's HTB was poorly understood by those who valiantly tried to document it; once I dropped most of the fancy features and made it a single-level (non-hierarchy) with four priority levels (isochronous, high, normal, low; iso and high having limited bit rates), it enabled conns in all four priorities to transit data very efficiently. Many more examples can be found.

Often, the culprit is Creeping Featuritis. FLOSS coders, programmers, devs and engineers are often guilty of continually adding features yet never go back to document what they designed or implemented, and even more rarely go back to review and fix what they wrote. Often, they seem to be interested only in what they want; what others want is immaterial.

In my 47 years of experience in the computing industry, I think DEC's end-user user guides and reference manuals were, by far, the best ever produced. (And, IIRC, GTE Government Systems' printing department performed a good bit of DEC's typesetting using their 'photographic' Linotype system.) Interleaf (UNIX desktop publishing) also produced some very good documentation.

Back when I worked for Motorola, I often told co-workers that the three most important things engineers must do every day are to communicate, communicate, and communicate. If we do that, the rest will fall into place.

I believe we, the FLOSS community, can do better all around if we but try.

The thing nobody wants to pay for - documentation

Posted Feb 22, 2024 10:12 UTC (Thu) by farnz (subscriber, #17727) [Link] (4 responses)

I've worked with ex-DEC technical writers, and the key insight into how DEC did such great manuals is that the technical writers were part of the process from design onwards; they did not document things after they were written, but instead were working on documentation in parallel to the code being written.

And a consequence of this is that there was a feedback path from the documentation into every stage of creating something at DEC, because the technical writers were part of the team working on any feature, and did spend time working with the developers to fix features that had evolved into a mess that wasn't possible to document nicely. This, in turn, improved the actual features - if you can't document it cleanly, then your feature is almost certainly a mess in real use, too.

The thing nobody wants to pay for - documentation

Posted Feb 22, 2024 12:23 UTC (Thu) by Wol (subscriber, #4433) [Link]

A different approach, but equally as important - this is why I go on about truth tables!

When designing something, always think about ALL the possibilities, before fixing your problem. Let's say you have three yes/no choices, that's an 8-way truth table. If even ONE of those eight doesn't make sense, then your solution is broken! If you're only interested in no 4, just fix no 4. But if no 7 doesn't make sense, you've just prevented the next person from fixing that one, and possibly several others, *properly*.

So your no 4 fix is, of logical necessity, a dubious bodge. That's playing dirty :-(

Cheers,
Wol

The thing nobody wants to pay for - documentation

Posted Feb 23, 2024 11:50 UTC (Fri) by maniax (subscriber, #4509) [Link] (2 responses)

I've been looking for good manuals while reading this thread, can you recommend some for DEC Software? The stuff I can find in archive.org is mostly for hardware, and I'm looking for some examples I can share with my team on how to write documentation and would like to be a bit closer to what we do.

DEC documentation

Posted Feb 25, 2024 20:50 UTC (Sun) by zaitseff (subscriber, #851) [Link]

Not quite sure if this is what you need: try https://docs.vmssoftware.com/ for full documentation for the current versions of VMS software.

The thing nobody wants to pay for - documentation

Posted Feb 26, 2024 10:56 UTC (Mon) by farnz (subscriber, #17727) [Link]

Maybe Guide to Creating Modular Procedures on VAX/VMS or VAX / VMS Install Utility Reference Manual, depending on what your team does.

The thing nobody wants to pay for - documentation

Posted Feb 22, 2024 13:44 UTC (Thu) by pizza (subscriber, #46) [Link] (2 responses)

> Systemd may be nice, but the documentation is all but non-existent. N

Seriously? If systemd's extensive, voluminous documentation [1] is "all but non-existent" I'd love to see what standard you are comparing it to.

[1] Both in the "reference manual" and "user guide" sense, along with many "design rationale" essays. And that's just the first-party stuff.

The thing nobody wants to pay for - documentation

Posted Feb 22, 2024 20:44 UTC (Thu) by Cyberax (✭ supporter ✭, #52523) [Link] (1 responses)

> Seriously? If systemd's extensive, voluminous documentation

Ugh. The problem is that systemd's documentation is unstructured. It's really hard to discover features or to understand the full lifecycle of a service.

For example, I only recently discovered that systemd can keep file descriptor store for the application, so it can use them to persist data between restarts.

The thing nobody wants to pay for - documentation

Posted Feb 23, 2024 8:42 UTC (Fri) by atnot (guest, #124910) [Link]

I think that just comes down to something else, different types of documentation. Systemd has excellent reference style documentation, where every individual option is explained in detail. However, it has very little conceptual documentation or guides that help you achieve a specific goal. When these things do exist, they're either sporadic and totally disconnected e.g. the stuff on systemd.io, or a blog post on Lennarts site, which can be handy but tough luck if you don't follow that and because they're not living documents they're outdated basically as soon as they're posted. But that's where I personally learned about the file descriptor store. IMO, that stuff should really live in the systemd docs, and there should be more of it by other people.

The thing nobody wants to pay for - documentation

Posted Feb 22, 2024 17:23 UTC (Thu) by kleptog (subscriber, #1183) [Link]

It's also possible to write voluminous documentation that is not useful. My experience with the Microsoft Azure documentation the last few months has been that there's loads of documentation that somehow fails to actually answer the questions I have. ChatGPT tends to give useful answers that, if you squint a bit, match what the documentation says, but something you would not have come up with yourself.

It does raise the question of what the target is of documentation these days. Are we expecting people to actually read all the docs, or do they just want their questions answered? For the latter case I see a promising future for LLMs. The other style documentation I use often are walk-throughs that go step-by-step to set up some environment, because that often involves lots of related tools working together, something you'll not find out by reading the docs of the individual tools.

At $DAYJOB we're experimenting with LLMs to write documentation. Not that it produces perfect results, but it gets you 90% of the way and maintains a consistent style. And people appear to be happier tweaking the results compared to writing from scratch. As so often with coding, a lot of documentation is just obvious boilerplate in a slightly different format, so letting the computer generate that and letting the expert fill-in the non-obvious looks to be a great time-saver (and we actually get docs, instead of nothing which what we have now).

Writers and programmers

Posted Jan 26, 2024 14:57 UTC (Fri) by corbet (editor, #1) [Link] (5 responses)

I have to disagree with that statement; there are programmers out there who are exceptional writers as well. As a rule, though, people who can do both tend to prefer programming; that's part of why we have such a hard time finding the kind of writers we need.

Writers and programmers

Posted Jan 26, 2024 16:34 UTC (Fri) by anselm (subscriber, #2796) [Link] (1 responses)

“Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer.”
  – Edsger W. Dijkstra

Writers and programmers

Posted Jan 26, 2024 22:45 UTC (Fri) by marcH (subscriber, #57642) [Link]

... and the best way to learn about one's native language is to learn (at least) another one.

It gives you the required distance.

Writers and programmers

Posted Jan 26, 2024 18:33 UTC (Fri) by ejr (subscriber, #51652) [Link]

Yeah... I'm published in technical and non-technical venues, and I also have plenty of code out there. But it's not always a quick mental transition *for me* between writing prose/poetry and code. I see the point proposing peoples' predilections. (Yeah, I just did that.) It takes time, again *for me*, to move between the spheres.

Writers and programmers

Posted Jan 26, 2024 23:40 UTC (Fri) by atnot (guest, #124910) [Link] (1 responses)

I also disagree *especially* because the big root of this is the general amount of contempt towards creative skills, and the humanities in general[1], in the industry. Which is strongly rooted in the implicit assumption that these skills are indeed mutually exclusive.

I would personally love to spend a lot of my time doing technical writing, but not enough to justify investing the time to get good enough at it for something that I will largely not be taken seriously for. I know that if I showed up to my next job with a bunch of writing on my resume, I would immediately get taken less seriously as an engineer and just get asked to take notes in meetings and write company blog posts all day even far beyond the baseline women levels. It's just not an attractive prospect to specialize in in this environment and everyone is worse off for it.

[1] It needs to be pointed out that these are all currently primarily feminine-coded, unlike programming.

Writers and programmers

Posted Jan 26, 2024 23:51 UTC (Fri) by atnot (guest, #124910) [Link]

I should add, this isn't an entirely theoretical worry either. I know multiple people who started doing some DevRel work and immediately found themselves unable to get hired for the much better paying senior engineering jobs they were well qualified for. In their cases it was fine because they enjoyed doing that anyway, but it does show how quickly you get pigeonholed as soon as you dare do anything but programming.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds