Slashdot Mirror


WTFM: Write the Freaking Manual

theodp writes "Blogger Floopsy complains that he would love to RTFM, but can't do so if no one will WTFM. 'You spend hours, days, months, perhaps years refining your masterpiece,' Floopsy laments to creators of otherwise excellent programming language, framework, and projects. 'It is an expression of your life's work, heart and soul. Why, then, would you shortchange yourself by providing poor or no documentation for the rest of us?' One problem with new program languages, a wise CS instructor of mine noted in the early look-Ma-no-documentation days of C++, is that their creators are not typically professional writers and shy away from the effort it takes to produce even less-than-satisfactory manuals. But without these early efforts, he explained, the language or technology may never gain enough traction for the Big Dogs like O'Reilly to come in and write the professional-caliber books that are necessary for truly widespread adoption. So, how important is quality documentation to you as a creator or potential user of new technologies? And how useful do you find the documentation that tech giants like Google (Go), Twitter (Bootstrap), Facebook (iOS 6 Facebook Integration), Microsoft (Windows Store apps), and Apple (Create Apps for IOS 6) produce to promote their nascent technologies? Is it useful on its own, or do you have to turn to other 'store-bought' documentation to really understand how to get things done?"

63 of 299 comments (clear)

  1. and what does the kama sutra have to do with this? by RobertLTux · · Score: 3, Interesting

    Whenever i get a response of RTFM most of the time its either
    1 WTFM first (or update it with the new changes)

    2 The Kama Sutra covers the subject better

    Challenge for the SlashMind locate a current (2.6*) copy of the Blender manual in PDF format.

    --
    Any person using FTFY or editing my postings agrees to a US$50.00 charge
  2. Examples by tomhath · · Score: 4, Insightful

    First provide some *working* examples. Then some real documentation (not Java Docs).

    1. Re:Examples by Gorath99 · · Score: 4, Insightful

      And then keep both the examples and docs up to date, for god's sake! The only thing worse than no documentation is useless documentation.

    2. Re:Examples by cheesybagel · · Score: 4, Insightful

      Actually if it is an API we are talking about Javadocs work great. Examples are also nice. Real documentation? If the API cannot be understood just by reading the Javadocs then You Are Doing It Wrong! The API sucks.

    3. Re:Examples by fast+turtle · · Score: 2

      This JavaDocs - What Is? Never heard of it and don't run Java on my system but I have used QT Torrent, QT-Web, Firefox, Palemoon along with Notepad++ yet the quality of the docs tend to suck pretty badly. A good example is the Firefox Docs. They're online only and insist on trying to connect using Firefox only, which is a problem when Firefox is borked. QT-Web is a nice app but docs? What Docs? There's a few entries and FAQ pages but docs simply don't exist. QT Torrent suffers the same problem. It's more common then not to encounter no docs with any app and that's just plain pitiful. I'll take a FAQ and Wiki over nothing at all but I'd prefer a decent set of general purpose docs. Detail can be easily provided by a FAQ/Wiki online with any examples and the latest information/changes there.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    4. Re:Examples by aaron552 · · Score: 2

      In general, yes. But if you spend any time using larger APIs, examples of "how to do basic task X" become much more important. Examples of usage are a key part of any (large) API documentation.

      For example, if the method foobar() in class Foo does what I want, how am I supposed to find it? Especially if the library has hundreds of classes spread across multiple namespaces.

      --
      I had a sig once. It was lost in the great storm of '09.
    5. Re:Examples by spauldo · · Score: 3, Informative

      JavaDocs are documentation that you include with java classes. They fill the same niche as sections 2 and 3 of the UNIX man pages.

      If you've ever used perl POD documentation, they work kind of like that on a conceptual level.

      This is all documentation aimed at programmers, of course, not application or system documentation. If you want to provide documentation for a java application, you generally don't do it with JavaDoc.

      --
      Those who can't do, teach. Those who can't teach either, do tech support.
    6. Re:Examples by TheRaven64 · · Score: 4, Insightful

      Javadoc / doxygen style documentation is great for understanding the details. It is terrible for giving an overview. Look at the Cocoa documentation, for example. If you get all of the Headerdoc (Apple's doxygen equivalent) documentation, it comes to about 8,000 pages. You really, really, don't want to have to read all of that to know how to use the APIs - most people can't keep that much detail in their heads anyway. You want a few high-level overview documents that you can read in their entirety and then refer to the API documentation for reference.

      For an open source example, look at LLVM. They have doxygen docs and they have some high-level subsystem docs (e.g. 'How to write an LLVM backend'). The bits that are the easiest to work with are the bits that have both.

      --
      I am TheRaven on Soylent News
    7. Re:Examples by TheRaven64 · · Score: 2

      A class is not a framework. A framework typically includes dozens or hundreds of classes. To understand how to use it, you need to know which classes are used together, what sort of workflow the framework was designed for, and how the components fit together. An overview of a class is obviously important, but it is a long way away from being a high-level doc.

      --
      I am TheRaven on Soylent News
    8. Re:Examples by cfulton · · Score: 2

      Not saying this is some kind of a cure all, but I've seen package level javadocs that run to pages and provide a very good overview of the system and how to use it.

      --
      No sigs in BETA. Beta SUCKS.
  3. In addition... by Anonymous Coward · · Score: 5, Informative

    to WTFM, please oh please oh please stop writing flowery, circumlocutious prose.

    Succinct... Precise... Concise...

    Bullet points, short paragraphs, and simple descriptions are fine in most circumstances; this is not an expository writing project. I don't want to have to wade through your awful prose to decipher what the hell you're trying to say.

    If I want to read a fucking story, I'll read a novel.

    1. Re:In addition... by orgelspieler · · Score: 4, Funny

      Depends on the professor. I was taught that prose should be like a miniskirt: long enough to cover the subject, but short enough to be interesting.

  4. Documentation? by fahrbot-bot · · Score: 5, Funny

    Real programmers don't document. If it was hard to write, it should be hard to understand. :-)
    You youngsters always want things "explained" - geesh.

    Seriously, get your hands dirty and work for it.

    --
    It must have been something you assimilated. . . .
  5. Documentation can make a standrd by xtal · · Score: 5, Insightful

    I consider it no accident that the defacto standard language C (aka, "portable assembler") has a lot to do with not only it being the language of choice for UNIX, but the fact that it was accompanied by one of the masterpieces of programming documentation - "The C Programming Language" - By K&R, who most know also designed and developed the language itself.

    Your ideas are no good if they can't be communicated to others. Often, inability to communicate good ideas is more an indicator the ideas aren't that good, than the documentation is lacking.

    --
    ..don't panic
    1. Re:Documentation can make a standrd by znigelz · · Score: 3, Interesting
      I second this post. K&R is the evolution of the C specification, and some versions of C compilers were written entirely from the book itself. C++ was developed in 1979, but not released to the public until 1983 (the year I was born, coincidence? I think not). Bjarne Stroustrup worked for Bell labs. Bell kept the official documentation, "The C++ Programming Language", under wraps until 1985. Wow, two whole years (though I'm sure too long for some of your old wizards). It is without question the best meta/template programming manual ever written.

      inability to communicate good ideas is more an indicator the ideas aren't that good

      If you find his book too complicated, then check out Stroustrup's other book, "Programming Principles and Practice using C++", which is more like a high school text book. Or check out his amazing and simplistic site for the aggregation of information crucial to c++, http://www.stroustrup.com/C++.html

      He may not be the greatest writer, or the most congenial, but his ideas were great, and no one can argue against it. No language is as dominant and most crucial to the world's infrastructure, and his books (and his online material) are a great companion in your time of need.

    2. Re:Documentation can make a standrd by Anonymous Coward · · Score: 5, Funny

      When I was in elementary I borrowed the first edition of K&R from dad's colleague. It's still sitting on my shelf.

      It's your dad's colleague here, and I'm still waiting for you to return my damn book!. Kids these days, no respect.

    3. Re:Documentation can make a standrd by blade8086 · · Score: 2

      Not to mention that UNIX's 1st 'official' funding at bell labs was to develop TYPESETTING applications for DOCUMENTS

      (see nroff - which is used to render man pages.. aka TFM of RTFM on a unix system)

    4. Re:Documentation can make a standrd by robthebloke · · Score: 2

      but his ideas were great, and no one can argue against it.

      There are plenty of people who can argue against the design choices in C++, and plenty of people who think his ideas don't translate very well into large scale maintainable systems. He's made a huge computer to computer science, but that does not mean he hasn't made a few mistakes along the way.

      No language is as dominant and most crucial to the world's infrastructure

      Only if you are one of those people who refuse to acknoweldge the existence of C.

    5. Re:Documentation can make a standrd by Ksevio · · Score: 4, Insightful

      K&R was a great documentation in the days where it worked best to have a book next to the keyboard - Just the function reference saved me plenty of time. I'd say a more modern equivalent is with PHP. Sure the language isn't that great - it has all sorts of weird quirks and inconsistencies- but the documentation is exceptional. Almost all of the pages have a good description, an example, links to related functions, and a comment area where other people can extend it. There's no way PHP would have become as popular with documentation like Java

  6. If it ain't in writing by k6mfw · · Score: 4, Insightful

    it doesn't exist. OK so a bad tagline but I've encountered so many devices, systems, etc. with no documentation. Now I can understand if someone throws together a contraption late at night, then have a few hours sleep, next morning they move on to their next gadget. However, I have little tolerance of people bragging of how great their thing is, everyone else's systems are inferior, etc, etc, etc but they have no paperwork. Or else they have tons and tons (but in PDF format to not cut down a huge forest) which basically is same as none existance because you will be dead of old age by the time you get through all that material. If they don't have much documentation then be honest about it. There are a lot of smart people that design and build neat stuff, their strengths are not in well written documents. That's when you bring in applications engineers and tech writers.

    --
    mfwright@batnet.com
  7. Oh, crap, it's a wiki by Animats · · Score: 5, Insightful

    I once tried Inkscape and realized in disgust that the "manual" was a wiki.

    When I was working in aerospace, we would often write the manual first, then implement. This forces developers to deal with ugly problems cleanly, rather than having some elaborate after-the-fact explanation of how to work around some limitation.

    1. Re:Oh, crap, it's a wiki by menno_h · · Score: 5, Interesting

      When I was working in aerospace, we would often write the manual first, then implement. This forces developers to deal with ugly problems cleanly, rather than having some elaborate after-the-fact explanation of how to work around some limitation.

      Also, this gives you a design plan that you can follow while coding.

      --
      AccountKiller
    2. Re:Oh, crap, it's a wiki by Hentes · · Score: 2

      The problem is not when it's a wiki, but when there are only like 3 articles in it.

    3. Re:Oh, crap, it's a wiki by cheesybagel · · Score: 3, Insightful

      Wiki documentation can be great if the people editing the wiki aren't a bunch of morons. Make of that what you will.

    4. Re:Oh, crap, it's a wiki by Tsu+Dho+Nimh · · Score: 3, Informative

      When I was working in aerospace, we would often write the manual first, then implement. This forces developers to deal with ugly problems cleanly, rather than having some elaborate after-the-fact explanation of how to work around some limitation.

      I used to get paid to WTFMs. If there was a good functional specification for the hardware or software, I could have the first draft done about the same time the early testing started, and much of it was lifted from the specs. You don't have to see it working to describe what it is supposed to do.

      If I had to WTFM for something with a bad spec or no spec, something that was being developed ad hoc ... it took a lot longer.

    5. Re:Oh, crap, it's a wiki by mdfst13 · · Score: 2

      The design-by-document approach just isn't going to fly in this age of minimalist organization and agile development.

      There is no reason why you can't write the documents first in agile development. You just can't finish the documentation before starting coding. You can write documentation of the next set of code to be written before writing it. Agile mixes well with extreme, test first programming. Do the documentation the same way. Write a bit of documentation; write the tests that match it; write the code to make the tests work. Repeat until finished. At that time, you will have complete documentation, a test suite, and working code.

      The big difference between agile and waterfall is that agile is more incremental based. Good agile development follows the same steps as good waterfall. It just processes them in smaller chunks.

      The good thing about agile development is that it is adaptive. The bad thing about agile is that you don't know what the final product will be until you are finished. Whether it works for your circumstances depends on whether it is more important to know the specifications of the final product early or to adapt to changing circumstances.

    6. Re:Oh, crap, it's a wiki by dylan_- · · Score: 2

      I once tried Inkscape and realized in disgust that the "manual" was a wiki.

      No, it's not. What gave you that idea?

      What you really need to try, though, are the Tutorials. They're under the Help menu and actually consist of SVG documents opened in a normal Inkscape window. It's simple yet brilliant -- when talking about a feature it simply suggests you try it there and then on that document. You should give it a try. Inkscape is an example of documentation done *right*!

      --
      Igor Presnyakov stole my hat
    7. Re:Oh, crap, it's a wiki by TheRaven64 · · Score: 2

      Wikis are great as a communications tool between developers and documentation writers on an open source project. A lot of developers have English as a second language, so really don't want to be writing English documentation. Of the English speakers, many are not very good at writing informative documentation. Get them to stick their notes on a wiki, however, and you have an up-to-date reference for the docs team to work from.

      --
      I am TheRaven on Soylent News
  8. More than a few assumptions here by Kjella · · Score: 2

    The first assumption is that you're actually writing it for somebody else and not yourself. In many cases if you've scratched your own itch, then you're happy and any comments are notes to self, not documentation for others. The second assumption is that you could, that it's only a lack of willpower. To many people coding a piece of software makes the logic of it so apparently obvious that they don't understand why it needs documentation, at least not any that's useful to anyone with a black box understanding of the code. The third assumption is that they're not once bitten, twice shy from useless or even misleading documentation and just decided that the code is the ultimate truth of what the code does and don't want to make any external document that won't stay in sync.

    --
    Live today, because you never know what tomorrow brings
    1. Re:More than a few assumptions here by Kjella · · Score: 2

      1) If your software has been released to the public (i.e. because you released it to the public) the assumption is that you want others to use it. Elsewise, keep it on your hard drive and stop polluting sourceforge. Too many people it seems have the mentality that they can just share their own dog food and others will want to lick the bowl. The thought process is basically "well, I can't sell this, but if I just give it away, maybe it'll make me famous and lead to something big." It's just a really lazy form of greed and opportunism, and thank goodness it doesn't work.

      By writing the code you've done all the work and throwing it out there costs nothing, in case someone finds it useful. Nothing more was implied nor guaranteed, did a rotten piece of source code you got from Sourceforge steal your girlfriend or run over your dog or something?

      If you're not interested in docs, good for you, move along, the article does not apply to you as a reader of docs, only as a producer of code that nobody else wants to use.

      Fair enough, if you're sure it's the documentation and not an awkward interface to poor code - I'd probably keep working on those two. Well working interfaces calling good code gets used, while a turd is still a turd even if you document it.

      --
      Live today, because you never know what tomorrow brings
  9. Documentation is just large form comments. by Anonymous Coward · · Score: 5, Insightful

    I've met quite a few coders who are disdainful of documentation, citing many of the reasons that coders give for being disdainful of comments. - It gets out of date quickly, there's a good chance it doesn't match the actual behavior, etc. "If I want to know what's going on, I have to read the code anyway, so what's the point?" There's also a very slight alpha-hacker subtext, with the philosophy of "if you can't read code, you're not worthy enough to be using this program in the first place". As well as the "works for me" viewpoint - the coder who wrote it doesn't need any documentation to understand it, so why is it necessary?

    It's sometimes difficult to convince a coder that there are people out there who are competent, intelligent, successful people but who have no interest in plowing through 1000+ lines of code in order to find out which flag they should use to get .png output. To someone who gets a frisson of pleasure at deciphering a wall of obfuscated Perl, it's a foreign concept that there are people out there that have other things they'd rather be doing.

     

    1. Re:Documentation is just large form comments. by vlm · · Score: 3, Insightful

      There's also a very slight alpha-hacker subtext, with the philosophy of "if you can't read code, you're not worthy enough to be using this program in the first place"

      Also the alpha hacker view of my code is like poetry, perfect, precise, crystal clear, and self documenting. Usually... not.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  10. WTFM? by russotto · · Score: 2

    I wrote the fine code, YOU write the fine manual. Do I look like a tech writer? No, I do not. (They generally dress better but are more disheveled, which may have to do with the contents of their hip flask)

    1. Re:WTFM? by fm6 · · Score: 2

      Fine, I'll write your manual for you. Shall we discuss money?

      What, no money for docs? Never mind!

    2. Re:WTFM? by rs79 · · Score: 2

      Tell you what, write the manual and get a 90% refund on the price of the free software you're using.

      --
      Need Mercedes parts ?
  11. Get a tech writer buddy by sandytaru · · Score: 5, Insightful

    Former English and journalism majors, who are not always the best programmers but are very very good at explaining how a program works (or ought to work), should be inside every IT company and department on the planet. When I'm not monitoring servers (e.g. watching paint dry), which is my formal job description, I'm writing down everything from internal business processes to how-to installation guides on software for specific networks. My happy place is about fifty pages deep in a Word file.

    --
    Occasionally living proof of the Ballmer peak.
    1. Re:Get a tech writer buddy by fm6 · · Score: 4, Insightful

      I'm appreciative of your positive comments about my profession, but you overstate the contribution of English and journalism types. There are indeed many good tech writers with that background, but there are also English types who drift into it because they can't get work doing anything else, and produce cruddy docs based on too-fancy prose styles and lack of serious interest in technology.

      Many good technical writers have technical backgrounds. I myself am a college dropout who wanted to be a computer scientist but didn't have the intellectual chops for it. Others I've known have been retooled scientists, humanities professors, and MBA types. The one constant is that you need the ability to explain complicated ideas simply (for which traditional training in writing doesn't always prepare you), a certain amount of simple curiousity, and the ability to ask the right "stupid" questions.

      BTW, anybody needs some APIs documented? User manuals? Installations guides? I get off my current assignment in about a month, If you have an interesing open-source project, I will consider donating some of my time.

    2. Re:Get a tech writer buddy by sandytaru · · Score: 3, Interesting

      I actually started out a physics major in college, and drifted over into English because Honors Calculus II with Theory kicked my hiney. (All my own fault: I spent my labs spinning equations around the axis and looking at the pretty pictures instead of learning the math behind it.) Not all English majors are automatically technologically deficient, especially ones who opted for a rigorous science and technology curriculum for their electives. I somehow finished with a minor in botany, which did nothing to help me find a job but everything to help me understand lab science and its specialized jargon.

      --
      Occasionally living proof of the Ballmer peak.
  12. talk to your PC by Simonetta · · Score: 4, Insightful

    Get a simple microphone like the blue-tooth-like headsets. Beg, borrow, or steal a speech-to-text program. (there's one buried in newer versions of MS Word) Train it. (for the S2T program in Word, you read the first few chapters of 'The Wizard of Oz' from the display on the PC screen).
        Now open a text file for your speech to go into and the software (or whatever) that you are trying to document. Describe what is displayed on the screen. Pretend that there is a beautiful woman next to you who is totally fascinated in the smallest most exact details of your program, and is totally in love with the sound of your voice describing it to her. If this is too much of a stretch then put a picture of your favorite gorgeous actress next to your PC, stare into her eyes, and describe your program to her.
          When you have a long and detailed text file describing your software project, close it and attach it to your source. Do this even if it means putting the whole thing in one long comment block and pasting it to the end of your Main file.
        Ignore all sentence structure, punctuation, and grammar mistakes in the file. You'll go crazy trying to repair them and most of the people who be needing this documentation will be so happy to have *anything* that they will overlook all the sentence structure, punctuation, and grammar mistakes in the file.
        If you don't speak English well enough to make the speech-to-text comprehend your words then either get a native English speaker to do all the steps above or use a Speech-to-text program that works with your native language. (if there are no speech-to-text programs that works with your native language, quit your present job and form a company is that based solely on making and selling such a program. Make it open-source free and have some NGO or your local Ministry of Culture pick up the cost). The people who are going to be reading the documentation in order to understand your program will either use a PC-based language translation program on your text file or hire someone at minimum wage to read your file and to translate it into more-or-less English.

        Read everything written above and Just-eF'ing-Do-It. Don't tell anyone that you did it. Just slip your rambling text 'documentation' file into the final shipping product disk or Zip file and let it be your little secret.
        Believe me, everyone who buys or uses your software will be glad that you did this. If you get fired, then become a consultant and teach other companys how to do exactly the steps described above and make twice as much money that you were before at the dingbat cement-head company that fired you.
        Just do it. Remember, every major advance in computer science made in the past 30 years was at one time called 'the stupidest fucking thing that I've ever heard' by Bill Gates. Speaking documentation to your PC seems stupid, but it gets the docs created when nothing else seems to work quite as well.

    1. Re:talk to your PC by pnot · · Score: 2

      That's a really interesting approach. Are there any examples of it in the wild? I'd be keen to see what one of these narratives looks like.

  13. Three reasons by griego · · Score: 4, Insightful

    I can think of three reasons why nobody WTFM:

    1. It's hard. Would you want to write a manual for Excel or 3ds Max? I wouldn't. Where to begin and how to organize it?
    2. It's time consuming. Software is bigger than ever, at least on the desktop.
    3. It's not sexy.

  14. Different skill set by Celarent+Darii · · Score: 4, Insightful

    It is very rare for a good programmer to be also a good writer. Heck in any job it is rare to find someone with two good skill sets. Even with the two skill sets you often only have time to do something well. I would have to say though when then planets align and the good programmer is also a good writer, usually some sort of standard results from it, and lots of progress is made in the field. Also, some projects don't really warrant the time to make extensive documentation. I wrote tons of LISP code that never had much of documentation because it didn't really need it and simply got the job done. I'm sure many projects never get past the stage of documentation on a need to know basis.

    1. Re:Different skill set by Celarent+Darii · · Score: 2

      A good writer by definition knows how to organize his thoughts, get quickly to what is important and is able to express himself clearly. Documentation is for people who develop software or products with your code, and in some ways analogous to what the user sees as an interface. Programming a user interface is often completely orthogonal to the technical part of the project, and really takes a different type of programmer. Look at how many excellent projects that work so well and yet are a real pain in the ass to use because of the interface - one can do well in one aspect and completely fail in the other. The same it is with code and documentation. The code might do what you want but if you have no idea how to implement the api it is damn useless.

  15. Literate Programming - Write both as one source by WillAdams · · Score: 2

    Knuth's source for TeX and METAFONT does this (he created the technique to enable him to write the system).

    I've found (re)writing a program as a literate program results in a much cleaner representation of the code and algorithms and a clearer, more understandable manual.

    DEK has since written an entire book on the concept (_Literate Programming_ a CLSI series book) a decade ago, but one seldom sees source so provided.

    There are some really cool example programs which're quite interesting (and educational) to read, for example:

    Will Crowther's game Adventure - available here: http://sunburn.stanford.edu/~knuth/programs/advent .w.gz (with an offer of a $2.56 reward check if one can find a bug), or as a document to just read here: http://www.literateprogramming.com/adventure.pdf

    Or a CWEB version of the RPN calculator for K&R's C Book: http://www.literateprogramming.com/krcwsamp.pdf

    --
    Sphinx of black quartz, judge my vow.
  16. Where's the money? by tommituura · · Score: 4, Informative

    A cynical answer is that even if the language or framework author/project head was a technical writer worth his or her salt, it makes more sense to write a book and sell it. Because asking money for the language (compiler/interpreter+libraries) itself is not going to fly in the flooded market of programming languages unless it is really really good and only very few of them are actually that good. Maybe not even then, because the price tag of non-zero value is poison for easy availability which is a must if you want someone to look into your project or language on his or her free time. With frameworks you might get more leeway but not much, especially not if you count on having a hobbyist/hacker community to flourish. Of course, getting someone like O'Reilly to greenlight your book about your own virtually-unknown language or framework might prove to be tad difficult too... Of course, if you're someone like Apple or Facebook or Microsoft or Google who offer a platform with sizable userbase with monetization prospects, this isn't really a problem.

    And then there is the fact as noted in submission that writing a good manual takes a different skill set than designing and implementing a good programming language. If you don't have it, someone else has to take up that work if it's going to be of any use. And for that to happen, the language or project has to exist in some kind of usable, stable state long enough for those "outsiders" to actually study and learn how this thing actually works.

    Which brings me to the last point. The really good books about a given programming language or framework give also "learned in real world use" insights about the pitfalls, deficiencies and suggested "usecases to avoid and the usecases to strive for" of the language which might only be discovered afterwards. This also might or might not be easier for someone who is not intimately knowledgeable with the inner workings of the language or framework by the virtue of being the one who created it. You kind of become blind for the real merits and sore spots in your own work, so to speak.

    And fwiw, I actually have no problem with the idea of paying for a book to help me learn a language / framework I want to know how to use. I have even done that! I do, sometimes, lament the fact that online documentation is lacking because looking up things is usually easier on those than on dead tree (or PDF files simulating dead tree).

    I do share some of the sentiments of TFA though. Most infuriating is when there's a "quick and easy tutorial"... which also doesn't cover very much beyond the simplest of use cases and then theres a very terse api reference. And virtually nothing in between. At that point I usually ask myself "do I really have to / want to (+ have time to) learn this thing, and is there a good book on it?"

  17. Re:Great but by jo_ham · · Score: 4, Informative

    When will Apple write a manual for their damned devices?

    What do you mean? Apple write manuals for their devices. They are available in PDF form on their website. They don't print the full manual and include it in the box any more to save on waste, instead just giving a brief quickstart guide, but the full manuals are still available. They are also available in iBooks.

    Here's the (156 page) iPhone 5 manual, for example: http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  18. You want me to write manuals? Pay me. by Tanuki64 · · Score: 2

    I am a freelancer, I am doing what the customer pays me for. I also write open source software in my free time. You don't like it? I don't care. I don't do it for you. I write it for me. I don't need a manual for my own code. So why do I publish my code at all? Why not? Maybe it is useful for someone. I just don't feel any obligation to make it useful for anyone but me.

    1. Re:You want me to write manuals? Pay me. by techno-vampire · · Score: 4, Insightful

      I just don't feel any obligation to make it useful for anyone but me.

      I'm sorry to say it, but if that's the way you feel, there's very little chance that anybody will ever get any use out of your code. Most people are only interested in using programs, not in fighting their way through the code trying to learn how to use it and for many people, if it doesn't come with instructions on how to get it working, it's not worth installing. At one time, that was mostly a Windows attitude, but there are more and more Linux users today who expect at least a little documentation, and as time goes on, their numbers are only going to grow.

      --
      Good, inexpensive web hosting
  19. Are you patient enough to teach another person? by MarkvW · · Score: 3, Interesting

    I'd love to work on a manual for something I'm really interested in, like Blender, but I doubt that any developer would have the patience to teach me what he knows--all the while trusting that I am going to complete what I set out to do.

    It's a problem.

  20. It starts with a website by Gadget_Guy · · Score: 4, Insightful

    The problem isn't just with manuals. It starts with a website. As a programmer, you might rely on other people to write your documentation but those people will never even learn your product without knowing what the hell it does.

    I have lost track of the number of times that I have stumbled upon a project's website only to be confronted with a changelog rather than a description of the product. There have been some (mostly open source) programs where I have eventually left the site without ever finding out what the software was actually for.

    Every webpage should have a short statement of what the project is designed to do, along with what OS it runs on. You don't have to be a great tech writer to do it, just imagine what a complete newbie would want to see the first time they happen across your site.

    Don't assume that your audience are also programmers and you might just get people interested who can actually write your documentation for you.

  21. Re:The manual should come from the specifications. by cheesybagel · · Score: 2

    You are assuming the specifications make sense or are actually what the client wants which isn't necessarily the case.

  22. "Get your documentation off my lawn!" by PolygamousRanchKid+ · · Score: 4, Insightful

    We used to put older programmers out to pasture writing documentation. Despite their cranky "Get off my lawn!" disposition, they were very good at it, like grandfathers telling a story:

    "Children, let me tell you a story from a long time ago, in a far away place, about an associative array of function pointers . . . "

    But now we lay off the older programmers.

    And now we outsource the younger programmers, so they won't even get to be older programmers.

    So there's your documentation for you, right there.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  23. Docs are first thing I look at. by Zadaz · · Score: 2

    When I need to evaluate some new tech, be it an API, language, tool, or just about anything else, the first thing I look at is the documentation, after that I look at the community support. Because I know I'm going to get stuck at some point and I need to know that there will be a way out. Even if another tool will technically be a better fit for what I'm trying to do, I'll still give it a pass in favor of a tool that I know what it can and can't do.

    Not that good docs are easy, they're not. They take lots of time, even for bad ones, but if you want to see adoption you need docs that include usage examples. This is primarily why Open Hardware companies have been growing like crazy while Radio Shack stagnates. They don't just sell a 555 timer, they provide dozens of free tutorials showing all the cool shit you can make with it.

  24. Re:Smart people don't read the manual anyway by rs79 · · Score: 2

    " The meme ''read the code'' is not always a good one, especially if the code has few comments or just says ''how'' rather than ''why''."

    "Comments lie. Code never lies" - Keith Doyle

    --
    Need Mercedes parts ?
  25. Information Mapping by SplashMyBandit · · Score: 3, Insightful

    Most developers hate writing technical documentation, and when they do they organize it poorly. I was trained in the "Information Mapping" school of tech writing that is based on the psychological aspects of learning and human working memory. The Information Mapping style has numerous benefits:

    • * the information you want to convey can be broken into seven types
    • * information 'chunked' into parts that are easy for the reader to digest
    • * documentation is designed that you can skip to the part you need without having read much of the rest of the documentation
    • * it is easy for the writer as they simply follow the information mapping process, you don't have to think too hard to start writing, unlike when you try to write without any structure, and
    • * the documentation that is produced has little prose, so is quick to relatively produce.

    Once you have the basics of Information Mapping then as you grow you get better at quickly structuring everything as well as writing examples and unambiguous sentences that can help your learners to avoid many pitfalls.

    So, I believe the premise of this thread is correct, many manuals either don't exist or are poor from a learning perspective. The most surprising thing I found when I learned Information Mapping (only takes a day to go through, since it is far easier than learning a programming language, and from then on it is just putting it in to practice) was how easy and effective it is. nb: I don't get kickbacks or anything from Info Mapping, it just happens to be the best and most time-efficient tech writing technique I've seen, so I hope me mentioning it helps someone else who wants to learn to be a great developer (which involves being a great communicator too).

    ps: info mapping is about structure and content selection, unfortunately it doesn't help with my typing or (lazy) proof-reading :)

  26. At my last job by kilodelta · · Score: 2

    Documentation - I don't care where I've worked, it has always taken seat WAY in the back.

    So for anything I learned about the software we used I'd write up how-to guides. This got all the way up to the company president who asked how I did it. I told him that for anything I was learning about, I took notes and documented. If it was something I wrote, I made sure to comment, notes, and then create a quick guide for it.

    We can all write. You just need to take the time to do so.

    1. Re:At my last job by El_Oscuro · · Score: 2

      At our work everything is documented. For every process we have at least 27 different documents, all inacurate or out of date in slightly different but important ways. And of course, they are impossible to find when you need them.

      Individually, I have managed to find a way around this mess with my own scripts: I just write a detailed usage description if the script is run without arguments, along with examples if the syntax is complex. Since the documentation is actually part of the script, it is always where you can find it, and is as up to date as the script. This doesn't just help other people, it helps me too if I haven't used a script in awhile.

      --
      "Be grateful for what you have. You may never know when you may lose it."
  27. Re:Writing documentation is boring and tedious. by robthebloke · · Score: 2

    I've worked on projects where writing the documentation was far more entertaining, and less tedious, than dealing with the actual code.....

  28. And that's not the worst problem. by gestalt_n_pepper · · Score: 2

    Here's a simple list that will keep any unfortunate enough to have to read your "documentation" from tearing their hair out. (I'm looking at you, Microsoft!).

    1) Table of contents. Learn to love them.
    2) Guess what kids?! Not everyone has immediate access to an internet connection all the time, so no, your cute little wiki page won't cut it as documentation for anything.
    3) Index words. They require brains not automation.
    4) Never, ever, under any circumstances whatsoever, discuss a function, property, or other programming language characteristic, no matter how obscure, without being more than ONE click away from a working code sample that demonstrates that function. Ever. Really. The concept is almost never the problem. Idiosyncratic syntax is.
    5) All code samples should be as simple as possible, demonstrating ONLY the behaviour of the function, property or feature under discussion. Embedding your single 2 lines of demonstration in 50 lines of irrelevance only proves you know how to cut and paste.
    6) Don't be lazy.

    --
    Please do not read this sig. Thank you.
  29. Re:Docs are for the trashbin of history by Psider · · Score: 2

    Ugh, I hate vids. They take sooooo long to get to the point. Give me a good doc I can scan to find just the bit I need. They do have a place, but they should NOT be the only form of documentation.

  30. Please open the box using the crowbar inside by itsdapead · · Score: 2

    Sure thing. However, before I start I'd better get completely familiar with your wonderful program in order to correctly explain it's operation, so I'll just have a good read of the manu... oh, wait...

    --
    In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
  31. WTFM is hard but worth it by lolococo · · Score: 2

    As an open source developper, I used to get a lot of negative feedback on the documentation, on how it was poorly written, lacking and generally unhelpful. This got me to make the decision to write a real manual, which users of the software could use as a reference, which would bring answers to (most of) their questions and allow them to become sufficiently proficient in the software APIs and features.

    What I hadn't realized was how long it would take: it took me 3 months to write a user's manual from scratch. During that time, I completely stopped writing code for the project, apart from bug fixing. I tried to apply what I thought a usable manual should be like, including navigation, code samples and links to relevant code documentation. It was one of the most frustrating time in my life, knowing that I shouldn't go back to coding because it would give me an excuse to stop writing the documentation.

    The rewards came when this work was completed. All of a sudden, the project was able to mention an actual documentation without shame. We are able to answer many of the questions in the user forums by providing the relevant documentation link. We could also see an increase in the proficiency of our users, as they were asking more technically difficult questions, asking for features they wouldn't have thought about otherwise, and making suggestions on features we (the project team) had overlooked. This also transformed the feedback we received about the documentation itself, in a complete u-turn from what we got previously.

    This turned out to be a win-win, both for the project team and for our users. Now, updating the documentation to keep up with the latest version of the software has been integrated into the development process. A feature or enhancement is not considered complete until it has been fully documented and tested.

    My 2 cents.

  32. Re:Writing documentation is boring and tedious. by Savage-Rabbit · · Score: 2

    'Nuff said.

    Writing documentation is boring and tedious.

    'Nuff said.

    Maybe it is, but writing, say, a FOSS library and then not writing any documentation is the best way of ensuring hardly anybody ever uses your code. Not writing at least half way usable documentation is a bit like spending tons of money developing a product and then doing no marketing because marketing is 'boring', you won't sell very much product. I always gravitate toward APIs that are well documented even if they have fewer features. Basically if I can't get a simple non-trivial example working in about 2-3 hours due to lousy documentation I'll start looking for alternatives. I'm not going to rifle through sources to figure out how to use an API unless I am forced to.

    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow