Rockbox mail archiveSubject: Re: coding style
Re: coding style
From: Frank Gevaerts <frank_at_gevaerts.be>
Date: Thu, 28 Oct 2010 00:00:32 +0200
On Wed, Oct 27, 2010 at 06:32:02PM +0200, Marcin Bukat wrote:
> Our rules described in docs/CONTRIBUTING aren't very precise.
I actually think they are. "When writing new files, you may use the
brace placement style of your choice" is pretty explicit.
> My proposition is to provide indent script which will formalize
> reference coding style. As a starting point you may look at
I think rockbox doesn't have one true required style because people
consciously decided not to have one, not because nobody ever got around
to defining one. I'm not sure changing that is a good idea.
> please express your opinion
> Marcin Bukat (wodz)
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. KernighanReceived on 2010-10-28