|
|
Log in / Subscribe / Register

The thing nobody wants to pay for - documentation

The thing nobody wants to pay for - documentation

Posted Jan 25, 2024 20:00 UTC (Thu) by sdalley (subscriber, #18550)
Parent article: The things nobody wants to pay for

> Companies pay for thousands of developers to work on the kernel,
> but none pays for a single technical writer to create documentation.

What an indictment.

I fondly remember, in the dim and distant past, shelves of beautiful manuals for the OpenVMS system hosting the cross-compiler toolchain used by our company at the time.


to post comments

The thing nobody wants to pay for - documentation

Posted Jan 25, 2024 21:53 UTC (Thu) by ballombe (subscriber, #9523) [Link] (4 responses)

I learned X11 programming by going to the library and read the
Xlib Programming Manual for Version 11

<https://www.goodreads.com/series/143548-the-definitive-gu...>

I ended up writing my own window manager., because why not ?

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 18:12 UTC (Fri) by hubcapsc (subscriber, #98078) [Link] (1 responses)

I also learned X programming from that manual. I was using
DEC equipment, I forget what they called their workstations...

I wrote a program that would display the grayscale image of
myself I'd gotten as a novelty at a usenix thing I'd recently been
to.

My friend Gregg tried to compile and run it on his Sun workstation,
but it wouldn't go, so he ribbed me about my code not being
portable...

-Mike

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 20:19 UTC (Fri) by jem (subscriber, #24231) [Link]

>I was using DEC equipment, I forget what they called their workstations...

DECstation...? :-)

The thing nobody wants to pay for - documentation

Posted Jan 28, 2024 0:25 UTC (Sun) by jg (guest, #17537) [Link]

In case the precedent may be useful, Digital actually assigned several tech writers to the X Window System project. Al Mento in particular was a godsend.

I wrote much of the text for the library document, but he made it professional quality. Similarly for other parts of the system (protocol, toolkit, ICCCM), etc.

You never know if you don't ask what people will pay for.

The one part of the book that wasn't given away was the really high quality index that was generated. This is less an issue when online, but when using a book, was easily worth the price of admission...

The thing nobody wants to pay for - documentation

Posted Jan 31, 2024 23:35 UTC (Wed) by adam820 (subscriber, #101353) [Link]

> Xlib Programming Manual for Version 11
>
> <https://www.goodreads.com/series/143548-the-definitive-gu...>

The company I was at previously did a HUGE "physical paper" cleanout, and there were so many manuals and stuff from this era. Books about UNIX, a _really_ nice set of these Xlib Programming manuals in a slip case that looked pristine like that hadn't really been used (probably left over from the Solaris days).

On the one hand, it kinda hurt me to pass up some of the books knowing they were headed for the dumpster, but also there's nothing I would do with them. But given their condition I should have rescued the X collection just for curio's/conversation's sake.

The thing nobody wants to pay for - documentation

Posted Jan 25, 2024 22:06 UTC (Thu) by Wol (subscriber, #4433) [Link] (9 responses)

So much of what I learnt came from reading the manuals.

So much of the difficulty of learning all this new computing stuff comes from the LACK of manuals.

Cheers,
Wol

The thing nobody wants to pay for - documentation

Posted Jan 25, 2024 23:07 UTC (Thu) by b7j0c (guest, #27559) [Link] (4 responses)

Amen!

And so much of what we refer to as "tech debt" is simply stuff that is unknowable or very hard to know, a lot of which could be easily addressed with decent documentation.

The thing nobody wants to pay for - documentation

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

FWIW I've never heard "technical debt" used this way.

I've heard used exclusively for short-term solutions hacks that save a little bit of time in the short term and cost a lot more time over years. Very much like the interest you have to pay for a loan, hence the name.

The thing nobody wants to pay for - documentation

Posted Jan 29, 2024 22:03 UTC (Mon) by gfernandes (subscriber, #119910) [Link] (1 responses)

...and one of those "short term hacks" is *not* documenting the design, API, miscellaneous other inter-component interaction, thus laying the grounds for _even_more_ hacks, gradually becoming endemic over time... :-)

The thing nobody wants to pay for - documentation

Posted Feb 10, 2024 22:47 UTC (Sat) by marcH (subscriber, #57642) [Link]

Lack of documentation is bad. Incorrect documentation is much worse and they may well cost (typically: OTHER people) more than "just" fixing it. So there is an "interest" element; fair enough. All the more reason to treat documentation as code BTW, thank you Sphinx and other markdown languages.

However I've don't remember the lack of documentation ever being named a "hack" and I've never seen it "laying the grounds" for more "hacks" either. So I still think it's a stretch. Everyone is of course free to use their own terminology; in fact we're constantly drowning under cryptonyms and other technical jargon. But the more "diverse" and fragmented terminology is and the less efficient is communication.

Wait... maybe we could call these language inconsistencies... technical debt? :-D Documentation is just a special case of communication after all.

The thing nobody wants to pay for - documentation

Posted Feb 8, 2024 1:22 UTC (Thu) by milesrout (guest, #126894) [Link]

sometimes they cost a lot of time over the years because they aren't properly documented and so *seem* like cruft when they're not.

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 19:58 UTC (Fri) by laicos (guest, #169322) [Link]

I have noticed the amount of times I have had to dig into source to figure out how some feature actually works because something has changed and is undocumented or just wasn't fully or well documented has increased dramatically in the last couple of years. I am glad I am not the only person to notice the trend.

The thing nobody wants to pay for - documentation

Posted Jan 29, 2024 15:23 UTC (Mon) by bferrell (subscriber, #624) [Link] (2 responses)

If you think it's bad in FOSS... Proprietary software is MUCH worse:

"Documentation?! If you're competent, what do you need THAT for?"

The thing nobody wants to pay for - documentation

Posted Jan 30, 2024 17:30 UTC (Tue) by jezuch (subscriber, #52988) [Link] (1 responses)

Oh gods... I once worked for a big investment bank where the culture was that "the most powerful tool I have is the telephone" (said by the bank's CEO 50 years ago and mindlessly transferred to engineering, along with some more pieces of investment banking culture that don't make sense there). So if you wanted to know something, the expectarion was that you went for a chat with, or called a senior dev. The result was that there was next to zero documentation, maybe except some design docs, long out of date (because, as you well know, no plan survives contact with the enemy).

This. Was. Hell.

The thing nobody wants to pay for - documentation

Posted Feb 10, 2024 20:12 UTC (Sat) by sammythesnake (guest, #17693) [Link]

You're lucky you were working in the company that *wrote* the software. I have squicky cold sweats remembering being to fix software written by a previous contractor (our direct competition because we stole their maintenance contract) with no documentation of any kind (not even what the business wanted the software to do in the first place, let alone anything about how it was supposed to do it)

Really, what we need is for programming languages to work high enough level that "writing documentation" is a whole bunch less work because the programming language expresses not only what happens and how, but what's *supposed* to happen, and something of *why*. Unit tests/regression tests could also help a whole bunch on some of this by providing clarification of intended behaviour.

With the right expressiveness of programming languages and good unit/regression tests that refine the implicit "specification", clever automation could perhaps produce summaries from the code/tests - something vaguely akin to Javadoc etc. but *code* focused and able to summarise code (CodeGPT, maybe!)

With good languages/tools on this front, the amount of documentation that would need *manually* writing could be somewhat less and a much less daunting task - possibly less likely to be put off indefinitely(!)

The thing nobody wants to pay for - documentation

Posted Jan 25, 2024 23:44 UTC (Thu) by ejr (subscriber, #51652) [Link] (21 responses)

*We* do. At least a little. Corbet's work is very much appreciated by me, and those to whom I've sent teasers... Although I don't think any of them subscribed.

Documentation is hard even initially. Maintaining documentation is nigh impossible.

The thing nobody wants to pay for - documentation

Posted Jan 26, 2024 8:21 UTC (Fri) by Wol (subscriber, #4433) [Link] (20 responses)

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

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