felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Walker <r...@ascert.com>
Subject Re: Proposal: coding standards
Date Tue, 22 Aug 2006 05:08:18 GMT
I'd also be happy with this, with Richard's modification that the 
opening { is on a line by itself - also a big fan of whitespace in code 
and we've found this a clearer standard here too.

-- Rob

Richard S. Hall wrote:
> Overall, the style is fairly close to what I have been using in 
> Oscar/Felix for years now, except for { being on the same line. I am a 
> fan whitespace in code and I find that having the open { on a separate 
> line gives me less dense code that is easier to read. Thus, I could 
> pretty much go with it as is if we could move the { onto a line by 
> itself.
> -> richard
> Marcel Offermans wrote:
>> Since one of the things we should have for Felix is a coding 
>> standard, I just added a lengthy page on the wiki with a PROPOSAL for 
>> such a coding standard. In fact, I simply took our company's guide 
>> (with their permission of course) and made some minor alterations 
>> (some things were not relevant here). This is meant as a starting 
>> point, so please read it and give your feedback.
>> You can read it here on the site (the static copy) and you will 
>> notice that we need to improve our stylesheet to get better formatting:
>> http://cwiki.apache.org/FELIX/codingstandards.html
>> that being said, you can also have a look on the wiki directly (which 
>> has better built-in styles already):
>> http://cwiki.apache.org/confluence/display/FELIX/codingstandards
>> Feel free to comment on anything that's there or missing, voice your 
>> opinion on what we should and should not try to "standardize". I'm 
>> particularly interested in your opinions on all the different modules 
>> (subprojects) and if we should even attempt to enforce any specific 
>> guide on all of them.
>> In my experience, agreeing on a coding standard has always been a 
>> difficult process, because many people have strong personal opinions 
>> and often, valid points can be made for deciding some things either 
>> way. The reason to even try to get a standard is easier read- and 
>> understandability. Oh well, enough talk for one evening!
>> Greetings, Marcel


Ascert - Taking systems to the Edge
+44 (0)20 7488 3470

View raw message