From: Hans Reiser <reiser@namesys.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: thenewme91@gmail.com, Christoph Hellwig <hch@infradead.org>,
Denis Vlasenko <vda@ilport.com.ua>,
chriswhite@gentoo.org, LKML <linux-kernel@vger.kernel.org>,
ReiserFS List <reiserfs-list@namesys.com>
Subject: Re: I request inclusion of reiser4 in the mainline kernel
Date: Sun, 18 Sep 2005 22:07:18 -0700 [thread overview]
Message-ID: <432E4786.7010001@namesys.com> (raw)
In-Reply-To: <1127079524.8932.21.camel@localhost.localdomain>
Alan Cox wrote:
>
>It doesn't matter if reiser4 causes crashes. It matters that people can
>fix them, that they are actively fixed and the code is maintainable. It
>will have bugs, all complex code has bugs. Hans team have demonstrated
>the ability to fix some of those bugs fast, but we also all remember
>what happened with reiser3 later on despite early fast fixing.
>
>
What was that?
>One big reason we jump up and down so much about the coding style is
>that its the one thing that ensures someone else can maintain and fix
>code that the author has abandoned, doesn't have time to fix or that
>needs access to specific hardware the authors may not have.
>
So why is the code in the kernel so hard to read then?
Linux kernel code is getting better, and Andrew Morton's code is
especially good, but for the most part it's unnecessarily hard to read.
Look at the elevator code for instance. Ugh.
I differ in one major aspect from some. That is, the only coding style
requirement I have of those who work for me is that it must be easy to
read. That is because at every company I can remember where someone was
gungho about advocating that code be written in a specific defined
style, that someone was always the one with the least readable code.
I have a simple punishment for those who violate my requirement: I go
through the code line by line with them, which they always hate for some
reason, and help them comment and clarify it. 1-2 sessions of this, and
they usually change how they code so that they don't have to go through
it again with me.
Asking for readable code is not that different from asking for readable
novels: if you try to define what is required rather than teaching
instance by instance, you can only get in the way of the artist rather
than instructing.
That is why I just say "make it easy to read and I don't care how you do
that so long as it works."
next prev parent reply other threads:[~2005-09-19 5:07 UTC|newest]
Thread overview: 143+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-16 17:05 I request inclusion of reiser4 in the mainline kernel Hans Reiser
2005-09-16 17:15 ` Christoph Hellwig
2005-09-16 17:40 ` Christoph Hellwig
2005-09-16 19:39 ` Hans Reiser
2005-09-16 19:52 ` Kyle Moffett
2005-09-17 10:51 ` Denis Vlasenko
2005-09-19 5:01 ` Hans Reiser
2005-09-16 20:50 ` Lennart Sorensen
2005-09-16 20:53 ` Lennart Sorensen
2005-09-19 5:09 ` Hans Reiser
2005-09-17 9:22 ` Christoph Hellwig
2005-09-17 10:56 ` Denis Vlasenko
2005-09-17 11:15 ` Denis Vlasenko
2005-09-18 0:34 ` Chris White
2005-09-18 10:21 ` Denis Vlasenko
2005-09-18 10:26 ` Christoph Hellwig
2005-09-18 17:22 ` michael chang
2005-09-18 19:16 ` Valdis.Kletnieks
2005-09-18 20:04 ` Horst von Brand
2005-09-18 20:29 ` David Masover
2005-09-18 21:43 ` Dan Oglesby
2005-09-19 1:37 ` PFC
2005-09-19 1:53 ` Kyle Moffett
2005-09-19 2:48 ` Dr.Dre
2005-09-19 4:37 ` Marc Perkel
2005-09-18 20:33 ` Marc Perkel
2005-09-19 5:44 ` Hans Reiser
2005-09-19 10:39 ` Nikita Danilov
2005-09-19 18:51 ` Hans Reiser
2005-09-19 10:51 ` Alan Cox
2005-09-19 23:03 ` Horst von Brand
2005-09-20 8:00 ` Hans Reiser
2005-09-20 7:51 ` Pavel Machek
2005-09-20 14:41 ` David Masover
2005-09-20 17:25 ` Hans Reiser
2005-09-20 18:17 ` Horst von Brand
[not found] ` <20050920175727.GA17820@thunk.org>
[not found] ` <1127240326.10407.22.camel@localhost>
2005-09-20 21:11 ` Theodore Ts'o
2005-09-21 0:08 ` Hans Reiser
2005-09-21 9:05 ` Vitaly Fertman
2005-09-20 17:46 ` Hans Reiser
[not found] ` <200509202328.28501.rik@osrc.info>
2005-09-20 20:15 ` Valdis.Kletnieks
2005-09-20 21:17 ` Theodore Ts'o
2005-09-20 21:33 ` Valdis.Kletnieks
2005-09-20 21:37 ` Pavel Machek
[not found] ` <200509210133.41710.rik@osrc.info>
2005-09-20 22:10 ` Pavel Machek
2005-09-21 0:22 ` Hans Reiser
2005-09-21 0:04 ` Theodore Ts'o
2005-09-21 0:13 ` Hans Reiser
2005-09-21 0:27 ` Ric Wheeler
2005-09-21 0:44 ` Hans Reiser
2005-09-21 1:12 ` Ric Wheeler
2005-09-21 3:05 ` Hans Reiser
2005-09-21 4:55 ` Gregory Maxwell
2005-09-21 11:21 ` Ric Wheeler
2005-09-21 17:36 ` Hans Reiser
2005-09-21 18:12 ` Ric Wheeler
2005-09-21 10:16 ` Vitaly Fertman
2005-09-21 1:01 ` Gregory Maxwell
2005-09-21 1:15 ` Ric Wheeler
2005-09-23 6:21 ` David Greaves
2005-09-23 11:37 ` Gregory Maxwell
2005-09-18 20:52 ` Kyle Moffett
2005-09-19 0:56 ` michael chang
2005-09-18 21:38 ` Alan Cox
2005-09-19 5:07 ` Hans Reiser [this message]
2005-09-19 9:01 ` Christoph Hellwig
2005-09-19 9:16 ` Christoph Hellwig
2005-09-19 9:21 ` Andrew Morton
2005-09-19 10:43 ` Alan Cox
2005-09-19 18:50 ` Hans Reiser
2005-09-19 18:51 ` Hans Reiser
2005-09-19 12:45 ` Jens Axboe
2005-09-20 4:16 ` Nick Piggin
2005-09-20 6:28 ` Hans Reiser
2005-09-20 7:16 ` Nick Piggin
2005-09-20 7:59 ` Hans Reiser
2005-09-20 8:31 ` elevators (was Re: I request inclusion of reiser4 in the mainline kernel) Nick Piggin
2005-09-20 17:18 ` Hans Reiser
2005-09-20 11:42 ` I request inclusion of reiser4 in the mainline kernel Jens Axboe
2005-09-20 13:30 ` Lorenzo Allegrucci
2005-09-20 13:41 ` Jens Axboe
2005-09-20 13:55 ` Nikita Danilov
2005-09-20 17:46 ` Hans Reiser
2005-09-20 15:25 ` Randy.Dunlap
2005-09-20 17:21 ` Hans Reiser
2005-09-20 18:18 ` Jens Axboe
2005-09-20 15:42 ` Horst von Brand
2005-09-20 17:46 ` Hans Reiser
2005-09-20 18:25 ` Jens Axboe
2005-09-20 18:27 ` Nikita Danilov
2005-09-21 21:16 ` Hans Reiser
2005-09-21 21:37 ` Nikita Danilov
2005-09-21 22:07 ` Hans Reiser
2005-09-20 17:55 ` Hans Reiser
[not found] ` <200509181406.25922.chrivers@iversen-net.dk>
2005-09-18 12:32 ` Denis Vlasenko
2005-09-18 18:25 ` David Masover
2005-09-19 5:16 ` Hans Reiser
2005-09-19 5:56 ` Valdis.Kletnieks
2005-09-19 6:53 ` Hans Reiser
2005-09-19 20:00 ` Bill Davidsen
2005-09-19 21:55 ` Hans Reiser
2005-09-18 10:23 ` Christoph Hellwig
2005-09-18 18:10 ` David Masover
2005-09-19 20:41 ` Alexander Zarochentsev
2005-09-26 15:03 ` Vladimir V. Saveliev
2005-10-04 19:00 ` Christoph Hellwig
2005-10-04 21:10 ` Hans Reiser
2005-11-11 16:15 ` Vladimir V. Saveliev
2006-01-09 9:54 ` What's the state of Reiser4 inclusion " Giovanni A. Orlando
2006-01-09 9:15 ` Arjan van de Ven
2005-09-17 11:16 ` I request inclusion of reiser4 " Denis Vlasenko
2005-09-18 3:06 ` George Garvey
2005-09-18 10:02 ` Nikita Danilov
2005-09-19 19:36 ` Stephen Pollei
2005-09-19 21:10 ` Nikita Danilov
2005-09-19 21:47 ` Benjamin Herrenschmidt
2005-09-19 22:01 ` Hans Reiser
2005-09-19 23:15 ` Horst von Brand
2005-09-20 3:57 ` Stephen Pollei
2005-09-20 9:30 ` Nikita Danilov
2005-09-20 15:36 ` Horst von Brand
2005-09-20 17:43 ` Hans Reiser
2005-09-20 18:36 ` Horst von Brand
2005-09-20 22:08 ` Stephen Pollei
2005-09-21 0:21 ` Hans Reiser
2005-09-21 10:47 ` Nikita Danilov
2005-09-21 17:34 ` Hans Reiser
2005-09-21 18:31 ` Nikita Danilov
2005-09-21 18:39 ` Hans Reiser
2005-09-20 17:53 ` Alexandre Oliva
2005-09-20 22:57 ` Stephen Pollei
2005-09-21 8:15 ` Alexandre Oliva
2005-09-18 22:12 ` Hans Reiser
2005-09-18 11:06 ` Christoph Hellwig
2005-09-19 9:18 ` Vladimir V. Saveliev
2005-09-19 9:24 ` Christoph Hellwig
[not found] ` <43302CF7.2010901@namesys.com>
[not found] ` <20050920154711.GA6698@infradead.org>
2005-09-30 12:10 ` Vladimir V. Saveliev
2005-09-30 17:27 ` Nikita Danilov
2005-10-04 18:12 ` Christoph Hellwig
2005-09-19 9:40 ` Alexey Dobriyan
-- strict thread matches above, loose matches on Subject: below --
2005-09-20 22:40 James Lamanna
2005-09-20 23:46 ` Vadim Lobanov
2005-09-20 23:51 ` James Lamanna
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=432E4786.7010001@namesys.com \
--to=reiser@namesys.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=chriswhite@gentoo.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=reiserfs-list@namesys.com \
--cc=thenewme91@gmail.com \
--cc=vda@ilport.com.ua \
/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