You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Christian Grobmeier <gr...@gmail.com> on 2011/10/09 07:53:19 UTC

[ognl] Codestyle

Hi all,

Checkstyle shows me more or less that we should go conform the Sun
standards. I would love this, but want to make sure we have agreed on
it. Because it would need a good bunch of bracket-moving

Cheers
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ognl] Codestyle

Posted by Christian Grobmeier <gr...@gmail.com>.
>> Of course, but automated changes are not guaranteed error-free.

I never had an error with Eclipse (use that since 2002 or so).

>> And it's easy to overlook some other change that was accidentally
>> committed at the same time.

As with every change. Actually with this argument we should stop
developing software. You always can commit a change by accident.

>>
>> If the code is currently self consistent, why change it?

Because: Standards rule.
IMHO all open source software should follow the programming language
standards. Not only oop safes extensibility, also readability does.

>
> Self consistency is great. People who write the code should have the
> most say and I'm not participating here so I'll accept this
> community's choice. That said, it would be really nice to have more
> consistency within commons itself. That might be a pipe dream but
> there you have it :)

A big +1 Gary.

When no other committers shout, I will stick with Simone said. But in
the end I would be glad to have this task done too.

Standards > Personal taste

Cheers

>
>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>



-- 
http://www.grobmeier.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ognl] Codestyle

Posted by Gary Gregory <ga...@gmail.com>.
On Oct 9, 2011, at 20:53, sebb <se...@gmail.com> wrote:

> On 10 October 2011 01:22, Gary Gregory <ga...@gmail.com> wrote:
>> On Sun, Oct 9, 2011 at 7:57 PM, sebb <se...@gmail.com> wrote:
>>
>>> On 9 October 2011 14:30, Gary Gregory <ga...@gmail.com> wrote:
>>>> On Sun, Oct 9, 2011 at 7:53 AM, Christian Grobmeier <gr...@gmail.com>
>>> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Checkstyle shows me more or less that we should go conform the Sun
>>>>>>> standards. I would love this, but want to make sure we have agreed on
>>>>>>> it. Because it would need a good bunch of bracket-moving
>>>>
>>>> I'm +1 on that. The change can be done automatically with most IDEs.
>>>> This should not be any "work".
>>>
>>> Except for the people who review commits ...
>>>
>>
>> Commit comments are good for this: "Automatic formatting by
>> Eclipse/NetBeans/YourIDE following convention foo"
>
> Of course, but automated changes are not guaranteed error-free.
> And it's easy to overlook some other change that was accidentally
> committed at the same time.
>
> If the code is currently self consistent, why change it?

Self consistency is great. People who write the code should have the
most say and I'm not participating here so I'll accept this
community's choice. That said, it would be really nice to have more
consistency within commons itself. That might be a pipe dream but
there you have it :)


>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ognl] Codestyle

Posted by sebb <se...@gmail.com>.
On 10 October 2011 01:22, Gary Gregory <ga...@gmail.com> wrote:
> On Sun, Oct 9, 2011 at 7:57 PM, sebb <se...@gmail.com> wrote:
>
>> On 9 October 2011 14:30, Gary Gregory <ga...@gmail.com> wrote:
>> > On Sun, Oct 9, 2011 at 7:53 AM, Christian Grobmeier <gr...@gmail.com>
>> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>> Hi all,
>> >>>>
>> >>>> Checkstyle shows me more or less that we should go conform the Sun
>> >>>> standards. I would love this, but want to make sure we have agreed on
>> >>>> it. Because it would need a good bunch of bracket-moving
>> >
>> > I'm +1 on that. The change can be done automatically with most IDEs.
>> > This should not be any "work".
>>
>> Except for the people who review commits ...
>>
>
> Commit comments are good for this: "Automatic formatting by
> Eclipse/NetBeans/YourIDE following convention foo"

Of course, but automated changes are not guaranteed error-free.
And it's easy to overlook some other change that was accidentally
committed at the same time.

If the code is currently self consistent, why change it?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ognl] Codestyle

Posted by Gary Gregory <ga...@gmail.com>.
On Sun, Oct 9, 2011 at 7:57 PM, sebb <se...@gmail.com> wrote:

> On 9 October 2011 14:30, Gary Gregory <ga...@gmail.com> wrote:
> > On Sun, Oct 9, 2011 at 7:53 AM, Christian Grobmeier <gr...@gmail.com>
> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>> Hi all,
> >>>>
> >>>> Checkstyle shows me more or less that we should go conform the Sun
> >>>> standards. I would love this, but want to make sure we have agreed on
> >>>> it. Because it would need a good bunch of bracket-moving
> >
> > I'm +1 on that. The change can be done automatically with most IDEs.
> > This should not be any "work".
>
> Except for the people who review commits ...
>

Commit comments are good for this: "Automatic formatting by
Eclipse/NetBeans/YourIDE following convention foo"

Gary


>
> > Gary
> >
> >>>>
> >>>> Cheers
> >>>> Christian
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >>>> For additional commands, e-mail: dev-help@commons.apache.org
> >>>>
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >>> For additional commands, e-mail: dev-help@commons.apache.org
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> http://www.grobmeier.de
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [ognl] Codestyle

Posted by sebb <se...@gmail.com>.
On 9 October 2011 14:30, Gary Gregory <ga...@gmail.com> wrote:
> On Sun, Oct 9, 2011 at 7:53 AM, Christian Grobmeier <gr...@gmail.com> wrote:
>>>
>>>
>>>
>>>
>>>
>>>> Hi all,
>>>>
>>>> Checkstyle shows me more or less that we should go conform the Sun
>>>> standards. I would love this, but want to make sure we have agreed on
>>>> it. Because it would need a good bunch of bracket-moving
>
> I'm +1 on that. The change can be done automatically with most IDEs.
> This should not be any "work".

Except for the people who review commits ...

> Gary
>
>>>>
>>>> Cheers
>>>> Christian
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>>
>>
>> --
>> http://www.grobmeier.de
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ognl] Codestyle

Posted by Gary Gregory <ga...@gmail.com>.
On Sun, Oct 9, 2011 at 7:53 AM, Christian Grobmeier <gr...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>> Hi all,
>>>
>>> Checkstyle shows me more or less that we should go conform the Sun
>>> standards. I would love this, but want to make sure we have agreed on
>>> it. Because it would need a good bunch of bracket-moving

I'm +1 on that. The change can be done automatically with most IDEs.
This should not be any "work".

Gary

>>>
>>> Cheers
>>> Christian
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
>
> --
> http://www.grobmeier.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ognl] Codestyle

Posted by Christian Grobmeier <gr...@gmail.com>.
> when we started the OGNL in incubator, we lazily agreed on having the
> Maven style[1], I personally don't see the need to change it now that
> we are worging towards the release.

OK good to know. Thanks
Christian

> Simo
>
> [1] http://maven.apache.org/developers/conventions/code.html
>
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
>
>
>
> On Sun, Oct 9, 2011 at 7:53 AM, Christian Grobmeier <gr...@gmail.com> wrote:
>> Hi all,
>>
>> Checkstyle shows me more or less that we should go conform the Sun
>> standards. I would love this, but want to make sure we have agreed on
>> it. Because it would need a good bunch of bracket-moving
>>
>> Cheers
>> Christian
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>



-- 
http://www.grobmeier.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ognl] Codestyle

Posted by Simone Tripodi <si...@apache.org>.
Gute morgen Christian!
when we started the OGNL in incubator, we lazily agreed on having the
Maven style[1], I personally don't see the need to change it now that
we are worging towards the release.
Simo

[1] http://maven.apache.org/developers/conventions/code.html

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Sun, Oct 9, 2011 at 7:53 AM, Christian Grobmeier <gr...@gmail.com> wrote:
> Hi all,
>
> Checkstyle shows me more or less that we should go conform the Sun
> standards. I would love this, but want to make sure we have agreed on
> it. Because it would need a good bunch of bracket-moving
>
> Cheers
> Christian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org