Entertaining Documentation

August 28th, 2008 § 6 comments

Thomas Guest has a hilar­i­ous, yet seri­ous post up about “Enter­tain­ing Doc­u­men­ta­tion” — it’s a response to a com­ment made by a perl hacker about the “snore fest” of the python documentation.

I really enjoyed the post — and I think he’s cor­rect:

I can see where he’s com­ing from, but I dis­agree. In my opin­ion the Python doc­u­men­ta­tion is well-organised, acces­si­ble and accu­rate. The doc­u­men­ta­tion for some mod­ules may be rather thin, but that’s the strongest crit­i­cism I would make. I do strug­gle to sin­gle out an enter­tain­ing excerpt, though: the doc­u­men­ta­tion aims to inform, and at that it does well.

While not exactly knock­ing the socks off in the hilar­ity depart­ment, I live off the python docs. Heck — I can’t wait for 2.6 and 3.0 to come out because there’s been a ton of work done on the docs. Some of Doug Hellmann’s PMOTW arti­cle exam­ples have been rolled in to improve the docs.

I’m not sug­gest­ing that the docs have to “stay dry” — but my only cri­te­ria for good docs is that they’re accu­rate, com­mu­ni­cate the capa­bil­i­ties of what you’re look­ing at and pro­vide decent, real-world examples.

To that end — if you want to con­tribute more docs, please do! While the 2.6 and 3.0 code bases are in RC sta­tus, and changes are being done very care­fully, the docs are still fair game for improve­ment. You can see the dev ver­sion of the docs here.

Of course, we could slip a few haikus and lim­er­icks into the docs — maybe that would make it “more better”.

  • anon

    just give me clear and under­stand­able docs with lots of exam­ples. When I wanna laugh, I’ll go to the movies :)

  • jnoller

    Agreed. I can’t echo “lots of exam­ples” enough

  • http://dazedbystander.blogger.com/ Ben

    I don’t really care about humor in my doc­u­men­ta­tion, I just want to find out what I need to know from it. In code com­ments, that’s a dif­fer­ent story… A ran­dom joke here and there really breaks up the tedium of learn­ing or review­ing code.

  • Robert

    I have always lamented the docs not hav­ing more exam­ples. It could be my short com­ing in read­ing what is there and trans­lat­ing that to code…but I would like them anyway.

  • tag

    Robert, I’ve heard this com­plaint before. A cou­ple of alter­na­tive ref­er­ences may help:

    http://pbe.lightbird.net/
    http://effbot.org/zone/librarybook-index.htm

    I also think that online ref­er­ence doc­u­men­ta­tion can eas­ily incor­po­rate exam­ples and dis­cus­sion, with­out becom­ing flabby: just link to it, or have some Javascript fold it away.

    As it hap­pens, I don’t really suf­fer from any lack of exam­ples. When­ever I’m writ­ing Python I have an inter­preted ses­sion run­ning, and I just try the code out, so I’m learn­ing by doing which is always the best way.

  • tag

    Robert, I’ve heard this com­plaint before. A cou­ple of alter­na­tive ref­er­ences may help:

    http://pbe.lightbird.net/
    http://effbot.org/zone/librarybook-index.htm

    I also think that online ref­er­ence doc­u­men­ta­tion can eas­ily incor­po­rate exam­ples and dis­cus­sion, with­out becom­ing flabby: just link to it, or have some Javascript fold it away.

    As it hap­pens, I don’t really suf­fer from any lack of exam­ples. When­ever I’m writ­ing Python I have an inter­preted ses­sion run­ning, and I just try the code out, so I’m learn­ing by doing which is always the best way.

What's this?

You are currently reading Entertaining Documentation at jessenoller.com.

meta