On Mon, May 12, 2008 at 8:20 PM, Rickard Öberg <[EMAIL PROTECTED]> wrote:
>  So far we don't, other than "IntelliJ standard settings + curly braces
>  on new line + tabs-as-spaces". I think that's about it.
>
>  Then some of us have preferences when it comes to naming. I, for one,
>  really don't like the "m_" prefix thing, and also sometimes use "a" as
>  prefix for method parameters. We're in the process of removing "get" as
>  prefix for getters. Etc. Niclas, anything else?

As Stuart says, I have assumed OPS4J style applies, although we are
not particularly strict about it. The following stuff is what I will
"adjust to" if I see it;

* throws on newline.

* implements on newline

* extends on same line.

* if/else, try/catch and all other structures; braces on their own lines.

* No space before and one space after opening brackets.

* Space on both sides of operators.

* No wildcard imports.

* No import grouping, only alphabetic sorting.

* 120 character lines, exception Javadocs.

* No auto line breaking in the IDE.

* No m_ (unlike Qi4j) by violent protest from Rickard.

* I equally violent remove his "a" prefix in argument names.

* Comments to a minimum, to avoid out of date comments later. Instead
more methods with descriptive names.


I think that's all I can recall right now.


Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to