From: Ingo Molnar <mingo@elte.hu>
To: "Dave Jones" <davej@redhat.com>, "Greg KH" <gregkh@suse.de>,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Jörn Engel" <joern@log>
Subject: Re: [GIT PULL] Squashfs pull request for 2.6.29
Date: Thu, 22 Jan 2009 23:16:41 +0100 [thread overview]
Message-ID: <20090122221641.GA31487@elte.hu> (raw)
In-Reply-To: <20090122215041.GA29369@redhat.com>
* Dave Jones <davej@redhat.com> wrote:
> We've already demonstrated "look how much stuff we can merge" time and
> time again, but no-one ever seems to have a proposal for how we increase
> the amount of review code gets before it's merged.
I think i agree with you in some ways (more review is always good), but
there's a very important aspect where i think you are quite wrong:
The first step towards increasing review activity is to increase the
readability of the code - so that is _can_ be reviewed quickly and
efficiently.
But talking down such efforts with:
> (and I mean real review here, not checkpatch & codingstyle crap)
is a shoot-own-foot excercise.
You are attacking the very foundation of proper high-level review. Yes,
there can be bad types of syntactic cleanups but most of the efforts add
real value to the code and should not be dismissed just because they stay
on the local level.
"real review" only becomes easy if the code _is reviewable to begin with_:
if it is written in standard coding patterns where we almost
sub-consciously recognize bad constructs and bad practices.
I've seen it time and again that if the code is cleaned up visually, real
review and real improvements follow eventually. It's a gradual process and
you just cannot do "real review" efficiently without what you call the
"checkpatch crap".
In fact, i claim that doing "real review" on butt-ugly code is a waste of
time and resources, and that it is also _harmful_. By doing real review on
something that is not even right stylistically, you insert value into it.
That way you _encourage_ that author of that ugly piece of code to
contribute more code in the same fashion. You indirectly harm Linux that
way because you encourage bad taste.
I strongly support the notion that high-level review is only warranted on
code that is reviewable and looks tasteful, and that code which doesnt
meet basic style should not be merged at all.
Code that 'looks good' can of course still be utter crap - but that crap
is usually easily noticed, and often the crap portion does not permeate
the whole code base. But if we have code that _does not even look good_
then crap can hide for a long time. (obscured by filth, so to speak.)
I know plenty of in-tree examples of 5-10 years old code that has remained
butt-ugly and unhackable for 5-10 years and which has an above-average
proportion of bugs and regressions.
Ingo
next prev parent reply other threads:[~2009-01-22 22:17 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-08 16:48 [GIT PULL] Squashfs pull request for 2.6.29 Phillip Lougher
2009-01-08 16:50 ` Christoph Hellwig
2009-01-08 17:05 ` Phillip Lougher
2009-01-08 17:11 ` Geert Uytterhoeven
2009-01-08 23:55 ` H. Peter Anvin
2009-01-09 1:53 ` Andrew Morton
2009-01-09 2:11 ` Phillip Lougher
2009-01-09 2:24 ` Kay Sievers
2009-01-09 2:36 ` Phil Oester
2009-01-09 16:54 ` Jörn Engel
2009-01-09 19:37 ` David Brown
2009-01-09 21:19 ` Jörn Engel
2009-01-10 12:43 ` Ingo Molnar
2009-01-10 16:50 ` Jörn Engel
2009-01-10 18:12 ` Andrew Morton
2009-01-10 18:30 ` Linus Torvalds
2009-01-10 19:57 ` Jeff Garzik
2009-01-10 20:16 ` Leon Woestenberg
2009-01-11 6:36 ` Valdis.Kletnieks
2009-01-10 19:19 ` Olivier Galibert
2009-01-10 22:15 ` Ingo Molnar
2009-01-11 9:30 ` Geert Uytterhoeven
2009-01-11 15:39 ` Ingo Molnar
2009-01-11 16:30 ` Greg KH
2009-01-22 21:50 ` Dave Jones
2009-01-22 21:57 ` Randy Dunlap
2009-01-22 22:15 ` Greg KH
2009-01-22 21:58 ` Greg KH
2009-01-22 22:26 ` Ingo Molnar
2009-01-22 22:50 ` Kyle McMartin
2009-01-22 23:04 ` Greg KH
2009-01-22 23:25 ` Evgeniy Polyakov
2009-01-22 23:34 ` Kyle McMartin
2009-01-22 23:41 ` Ingo Molnar
2009-01-22 23:28 ` Evgeniy Polyakov
2009-01-22 22:16 ` Ingo Molnar [this message]
2009-01-22 22:24 ` Pekka Enberg
2009-01-23 0:16 ` Andrew Morton
2009-01-23 0:30 ` Greg KH
2009-01-09 2:30 ` Harvey Harrison
2009-01-09 11:25 ` KOSAKI Motohiro
2009-01-09 12:02 ` Alan Cox
2009-01-09 21:56 ` Linus Torvalds
2009-01-09 22:08 ` Andrew Morton
2009-01-09 22:12 ` Linus Torvalds
2009-01-09 22:26 ` Alan Cox
2009-01-09 22:36 ` Harvey Harrison
2009-01-11 3:01 ` Phillip Lougher
2009-01-11 3:06 ` H. Peter Anvin
2009-01-09 16:32 ` Geert Uytterhoeven
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=20090122221641.GA31487@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=davej@redhat.com \
--cc=geert@linux-m68k.org \
--cc=gregkh@suse.de \
--cc=joern@log \
/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).