From: David Brownell <david-b@pacbell.net>
To: "David S. Miller" <davem@redhat.com>
Cc: rddunlap@osdl.org, linux-net@vger.kernel.org, netdev@oss.sgi.com
Subject: Re: netlink tester program
Date: Mon, 02 Jun 2003 20:34:19 -0700 [thread overview]
Message-ID: <3EDC173B.80909@pacbell.net> (raw)
In-Reply-To: 20030602.190240.74724523.davem@redhat.com
> Well, the difference between code and its spec is
> generally a bug that needs to be fixed ...
>
> See, a document is NOT the spec, the code is the spec.
That's hardly the only development model.
> Because where the document is wrong, the code determines
> the final answer. This is true in all cases.
Not "all". "Code-as-spec" works well when there's only
one code base, but otherwise it's flawed. Even the model
of a "reference implementation" is trouble ... since it
invariably evolves into "everyone should use this code".
Of course, bugs that stay unfixed for a long time can
force the "spec" to change. It's a great vendor lock-in
tool, and it can happen accidentally too. But most folk
view such interop problems as bugs, not features.
> I cannot tell you how much time I've seen people waste because they
> went for documents first, only to find them to be inaccurate for some
> corner case whilst the code has all of the accurate answers.
Or where they notice the code is wrong in that corner case,
and they can prove that easily since the spec (implemented
correctly in several other places) and the code disagree.
Or where this implementation uses this answer, and that one
uses that answer ... and the poor user gets caught in the
middle of a finger pointing war, which can't be resolved
since each implementation's developers claim to be "the spec",
and the user eventually gives up saying "a pox on you all!"
You clipped out the text where I pointed out that bugs can
be in specs as well as code. They can be fixed there, too.
> When I see someone want docs, I interpret this as "I don't want to
> have to think or have to comprehend something, I'm too lazy to read
> the code." Well, such laziness leads the person in question only
> to be suscpetible to all of the inaccuracies and disconnect that
> always will exist between said docs (if they even exist) and the
> code.
That's an *extremely negative interpretation*, and while I've seen
people that are that lazy, they happen to be in the minority
of people I've known to ask for docs/specs. (Thank the Gods!)
Consider one thing that docs/specs do that code can't: give
the "30,000 foot view" rather than the "tree level view". It's
not "lazy" to avoid using the tree-level view; sometimes such
low-level perspectives can be counterproductive.
People ask for docs for lots of reasons, and most of them have
nothing at all to do with laziness.
- Dave
next prev parent reply other threads:[~2003-06-03 3:34 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-30 16:00 netlink tester program Randy.Dunlap
2003-05-31 0:11 ` David S. Miller
2003-05-31 3:22 ` Randy.Dunlap
2003-05-31 6:42 ` David S. Miller
2003-05-31 12:09 ` Andi Kleen
2003-06-02 17:07 ` Randy.Dunlap
2003-06-02 21:04 ` Randy.Dunlap
2003-06-02 21:56 ` David S. Miller
2003-06-03 1:56 ` David Brownell
2003-06-03 2:02 ` David S. Miller
2003-06-03 3:34 ` David Brownell [this message]
2003-06-03 3:38 ` David S. Miller
2003-06-03 3:49 ` Randy.Dunlap
2003-06-03 3:51 ` David S. Miller
2003-06-03 7:57 ` Hisham Kotry
2003-06-09 1:35 ` Jamal Hadi
2003-06-09 14:37 ` Mr. James W. Laferriere
2003-06-09 17:16 ` David S. Miller
2003-06-03 2:33 ` John S. Denker
2003-06-03 2:38 ` David S. Miller
2003-06-03 3:20 ` John S. Denker
2003-06-03 3:22 ` David S. Miller
2003-06-03 3:41 ` John S. Denker
2003-06-03 3:46 ` David S. Miller
2003-06-03 3:54 ` Randy.Dunlap
2003-06-03 3:54 ` David S. Miller
2003-06-03 3:37 ` David Brownell
2003-06-03 3:32 ` Randy.Dunlap
2003-06-03 3:35 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EDC173B.80909@pacbell.net \
--to=david-b@pacbell.net \
--cc=davem@redhat.com \
--cc=linux-net@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=rddunlap@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).