From: Dan Nicolaescu <dann@ics.uci.edu>
To: Andreas Schwab <schwab@suse.de>
Cc: tromey@redhat.com, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: RFC: status icon support
Date: Sat, 12 Jan 2008 10:59:35 -0800 [thread overview]
Message-ID: <200801121859.m0CIxj6W018916@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <jemyrb54jv.fsf@sykes.suse.de> (Andreas Schwab's message of "Sat, 12 Jan 2008 18:36:52 +0100")
Andreas Schwab <schwab@suse.de> writes:
> Dan Nicolaescu <dann@ics.uci.edu> writes:
>
> > Andreas Schwab <schwab@suse.de> writes:
> >
> > > Dan Nicolaescu <dann@ics.uci.edu> writes:
> > >
> > > > Richard Stallman <rms@gnu.org> writes:
> > > >
> > > > > Please no K&R in new code.
> > > > >
> > > > > We have no policy against K&R style. I recently accepted non-K&R
> > > > > function definitions in Emacs sources, but I still do not particularly
> > > > > like it. K&R style is easier to read anyway.
> > > >
> > > > It might be easier to read for you personally, but it is harder for
> > > > people that have never written/read any K&R code. Some emacs
> > > > contributors have started programming after C was standardized, so they
> > > > never had a chance to know any different (and its quite possible that
> > > > some were even born after the standardization).
> > >
> > > Old-style function definitions are still part of the C standard. They
> > > are only marked obsolescent.
> >
> > And because of that they are not being used, people are not being taught
> > about them.
>
> I claim that the majority of existing C sources still uses old-style
> function definitions. I cannot prove that, but given the vast amount of
> existing old software I would be surprised if a programmer can learn C
> without having been confronted with them.
And what is your point? That we should insist on using K&R? Let's not
forget the starting point of this discussion and stop discussing
strawmen just for the sake of discussion.
And I completely disagree with your point. I won't make judgements in
general, but in my personal experience, I have only seen K&R in GNU
software. I have seen a lot of software that was written in K&R style
that was converted to ISO C mainly because of better compiler error
checking. The conversion is trivial (and as you know, a lot of GNU
software was converted too).
Second, "having been confronted" is not the same as being familiar,
understanding the differences, and actually writing code in the style.
next prev parent reply other threads:[~2008-01-12 18:59 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 23:28 RFC: status icon support Tom Tromey
2008-01-12 1:57 ` Dan Nicolaescu
2008-01-12 1:28 ` Tom Tromey
2008-01-12 1:38 ` Tom Tromey
2008-01-12 8:45 ` Ulrich Mueller
2008-01-12 17:45 ` Tom Tromey
2008-01-14 2:01 ` Richard Stallman
2008-01-14 1:35 ` Tom Tromey
2008-01-14 17:26 ` Richard Stallman
2008-01-19 5:18 ` Tom Tromey
2008-01-20 6:14 ` Richard Stallman
2008-01-23 4:00 ` Michael Olson
2008-01-14 1:41 ` Tom Tromey
2008-01-14 1:03 ` Michael Olson
2008-01-14 1:01 ` Tom Tromey
2008-01-14 7:03 ` Jan Djärv
2008-01-15 6:01 ` Michael Olson
2008-01-16 1:10 ` Tom Tromey
2008-01-16 4:10 ` Michael Olson
2008-01-12 11:11 ` Richard Stallman
2008-01-12 11:25 ` David Kastrup
2008-01-12 11:27 ` Andreas Schwab
2008-01-12 11:46 ` David Kastrup
2008-01-12 14:10 ` Andreas Schwab
2008-01-12 14:19 ` David Kastrup
2008-01-12 17:33 ` Andreas Schwab
2008-01-14 2:00 ` Richard Stallman
2008-01-14 2:25 ` Stefan Monnier
2008-01-14 7:05 ` Jan Djärv
2008-01-12 13:52 ` Dan Nicolaescu
2008-01-12 14:13 ` Andreas Schwab
2008-01-12 14:26 ` Dan Nicolaescu
2008-01-12 17:36 ` Andreas Schwab
2008-01-12 18:59 ` Dan Nicolaescu [this message]
2008-01-12 14:33 ` David Kastrup
2008-01-12 17:45 ` Andreas Schwab
2008-01-12 18:07 ` David Kastrup
2008-01-12 18:16 ` Andreas Schwab
2008-01-14 2:01 ` Richard Stallman
2008-01-14 2:47 ` Dan Nicolaescu
2008-01-14 17:26 ` Richard Stallman
2008-01-14 9:14 ` David Kastrup
2008-01-14 17:26 ` Richard Stallman
2008-01-14 3:47 ` YAMAMOTO Mitsuharu
2008-01-14 3:49 ` Tom Tromey
2008-01-14 13:35 ` Stefan Monnier
2008-01-14 21:40 ` YAMAMOTO Mitsuharu
2008-01-16 1:17 ` Tom Tromey
2008-01-16 11:55 ` YAMAMOTO Mitsuharu
2008-01-14 17:26 ` Richard Stallman
2008-01-14 17:10 ` Tom Tromey
2008-01-16 2:42 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2007-12-30 19:56 Tom Tromey
2007-12-31 17:18 ` Dan Nicolaescu
2007-12-31 18:29 ` Tom Tromey
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=200801121859.m0CIxj6W018916@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=schwab@suse.de \
--cc=tromey@redhat.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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.