From: Gerd Knorr <kraxel@bytesex.org>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>,
xen-devel@lists.xensource.com
Subject: Re: [patch] pagetable cleanups
Date: Thu, 14 Apr 2005 17:31:30 +0200 [thread overview]
Message-ID: <20050414153130.GB28071@bytesex> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3B77@liverpoolst.ad.cl.cam.ac.uk>
> Personally think having "a = foo(b,c)" is actually more readable than
> "foo(&a,b,c)".
In that case yes.
If you use that to avoid extra temporary variables, i.e.
bar(x, foo(b,c));
instead of
a = foo(b,c);
bar(x,a);
it quickly becomes unreadable, especially if the function and argument
names are a bit longer and the first version doesn't fit onto a single
line any more. You are not forced to do that though, even if the
macros/functions _do_ return the entries ;)
I'll go over it again ...
Gerd
--
#define printk(args...) fprintf(stderr, ## args)
next prev parent reply other threads:[~2005-04-14 15:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-14 15:11 [patch] pagetable cleanups Ian Pratt
2005-04-14 15:31 ` Gerd Knorr [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-14 19:33 Ian Pratt
2005-04-14 14:14 Ian Pratt
2005-04-12 18:58 Gerd Knorr
2005-04-14 12:25 ` Michael A Fetterman
2005-04-14 15:01 ` Gerd Knorr
2005-04-14 14:48 ` Mark Williamson
2005-04-14 18:27 ` Hollis Blanchard
2005-04-14 19:07 ` Anthony Liguori
2005-04-14 19:20 ` Hollis Blanchard
2005-04-14 19:30 ` Gerd Knorr
2005-04-14 16:47 ` Christian Limpach
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=20050414153130.GB28071@bytesex \
--to=kraxel@bytesex.org \
--cc=Michael.Fetterman@cl.cam.ac.uk \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.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 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.