Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: 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
> http://www.pastie.org/1253074.

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.

Frank

>
> 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. Kernighan
Received on 2010-10-28

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa