From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: krishna <krishna.c@globaledgesoft.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Con Kolivas <lkml@kolivas.org>
Subject: Re: How to write elegant C coding
Date: Wed, 05 Jan 2005 04:11:49 +0000 [thread overview]
Message-ID: <1104898308.24896.158.camel@localhost.localdomain> (raw)
In-Reply-To: <41DB6248.2030003@globaledgesoft.com>
On Mer, 2005-01-05 at 03:43, krishna wrote:
> What I mean is both elegant and _efficient_ best practices in C coding.
Documentation/CodingStyle is well worth a read. Also for that matter
just reading a lot of good code helps you write good code as reading
helps you learn a language better.
Efficiency is a harder subject: Remember that efficient code still must
be easy to understand so often is about algorithms not language, and in
part about hardware.
On the hardware side - the book "Unix systems for modern architectures"
But as Tim righly said "practice"
Alan
next prev parent reply other threads:[~2005-01-05 5:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-05 3:26 How to write elegant C coding krishna
2005-01-05 3:42 ` Con Kolivas
2005-01-05 3:43 ` krishna
2005-01-05 3:55 ` Tim Hockin
2005-01-05 4:11 ` Alan Cox [this message]
2005-01-05 15:11 ` Horst von Brand
-- strict thread matches above, loose matches on Subject: below --
2005-01-05 6:44 krishna
2005-01-05 7:49 ` Coywolf Qi Hunt
2005-01-05 8:14 ` Al Viro
2005-01-06 15:17 krishna
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=1104898308.24896.158.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=krishna.c@globaledgesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@kolivas.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.