Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] linux@example.com How many widely can we do that?
- Date: Wed, 28 Oct 2009 13:13:27 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] linux@example.com How many widely can we do that?
- References: <20091024084313.GA26730@example.com> <20091025150358.ac21a898.attila@example.com> <20091025144342.GB29599@example.com> <20091025160621.089f04b4.attila@example.com> <f8b14cb80910252012m5cffe9a6m160c086910717cba@example.com> <a690a4c90910252029j41411fal15dc23c037b9a331@example.com> <87d44aagym.fsf@example.com> <a690a4c90910252228u7ae9a907g2a1900ed0839d43b@example.com> <874opmabcp.fsf@example.com> <20091028025424.GB8540@example.com>
Curt Sampson writes: > > Usually documented by an automatic tool that turns .h files > > into prose. (I kid you not.) > > Well, it's a step above separate documentation that never gets updated. No, it's not -- in many cases the .h is easier to read (assuming you can program in C, which almost goes without saying in this context). But in most cases the separate documentation at least contains a theory of operation section, and *omits internal interfaces*. > Documentation should come from code whenever possible. I disagree. The code should be written to implement the documentation. It's good to combine the source of the spec document with the code as long as you're very disciplined about writing the spec and then changing it only in a planned way, then filling in the details in code. But what's really bad about it is that if changing the .h automatically updates the documentation, the developer of client code is completely hung out to dry. There is nothing left that can be considered an independent specification of the behavior. Even backward compatibility can be immediately disposed of as "we changed unspecified behavior, you really shouldn't be depending on that!" because *everything* is unspecified. > > (You certainly can find really horrible config files. sendmail.cf is a > > well-known example....) > > Mitigating that is that sendmail.cf is really a special-purpose > programming language more than a "configuration file," Sure. I'm just saying that although *nix is not exempt from opaque configuration, it's considered a bug by most FLOSS developers.
- Follow-Ups:
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Curt Sampson
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Josh Glover
- References:
- [tlug] linux@example.com How many widely can we do that?
- From: Christian Horn
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Attila Kinali
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Christian Horn
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Attila Kinali
- Re: [tlug] linux@example.com How many widely can we do that?
- From: andrew holway
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Michael Bitker
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Stephen J. Turnbull
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Michael Bitker
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Stephen J. Turnbull
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Git Under Windows (Was: linux@example.com)
- Next by Date: Re: [tlug] Git Under Windows (Was: linux@example.com)
- Previous by thread: Re: [tlug] linux@example.com How many widely can we do that?
- Next by thread: Re: [tlug] linux@example.com How many widely can we do that?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links