From: Luben Tuikov <luben@splentec.com>
To: Tommy Reynolds <reynolds@redhat.com>
Cc: root@chaos.analogic.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] coding style addendum
Date: Mon, 10 Mar 2003 17:30:34 -0500 [thread overview]
Message-ID: <3E6D120A.6040207@splentec.com> (raw)
In-Reply-To: 20030310160743.76ed3d67.reynolds@redhat.com
Tommy Reynolds wrote:
>> References:
>> [1] ``The Elements of Programming Style'' by Kernighan
>> and Plauger, 2nd ed, 1988, McGraw-Hill.
>
>
> Keep in mind the date here. Prior to this time, subroutines were the
Yes, I'm aware of the date. AFAIR, 1 ed. is circa 1974, so in 14 years
I'd say the principles were still effective.
``Prior to this time'' you probably meant prior to 1974.
[cut]
> functional abstractions. Using your argument that the example code
> hides an "implementation", it's difficult to conceive of a code example
> that hids neither its data nor its implementation.
So why should you change a definition to allow for a specific case?
Isn't a function de facto an implementation detail and thus encapsulating
the actual implementation (i.e. it's workings).
Anyway this is not important and is just formalisms.
My whole point was to put down in text file, the already practiced rule
of thinking out data representations, since this has direct effect on
the complexity of the code (i.e. the choice of data represenation).
I'm sure you know which example I'm thinking of.
--
Luben
prev parent reply other threads:[~2003-03-10 22:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-10 20:56 [PATCH] coding style addendum Luben Tuikov
2003-03-10 21:32 ` Richard B. Johnson
2003-03-10 21:53 ` Luben Tuikov
2003-03-10 22:07 ` Tommy Reynolds
2003-03-10 22:30 ` Luben Tuikov [this message]
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=3E6D120A.6040207@splentec.com \
--to=luben@splentec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=reynolds@redhat.com \
--cc=root@chaos.analogic.com \
/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