You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2015/01/13 09:33:49 UTC
[Kerberos] Code style
Hi guys !
as everybody knows, we have accepted the code Kerberos donation
recently. This code base uses a different code format than the one we
are using (they are using a Java standard code format).
As much as I like our code format, as this is a separate code base, I
wonder if it makes sense to change all the code base. I'd like to start
a discussion here about it. What's the pros and cons about keeping the
current formatting vs changing it to what we use ?
Feel free to participate !
RE: [Kerberos] Code style
Posted by "Zheng, Kai" <ka...@intel.com>.
I appreciate the thoughts. Many new projects use standard Java code style, requiring the only setting of spaces for tab. Converting isn’t easy (as for now we have so many tasks to handle with), and we also might wish to avoid mess in the new project.
Regards,
Kai
From: Lucas Theisen [mailto:lucastheisen@pastdev.com]
Sent: Tuesday, January 13, 2015 8:43 PM
To: Apache Directory Developers List
Subject: Re: [Kerberos] Code style
I will admit, I still have trouble using the ApacheDS code style. I prefer standard java code style. That said, consistency across a project is pretty important. Especially for new contributors. Plus, java autoformatters are pretty good. I use eclipse to do so on all my personal projects and have encountered very few issues with that. However, as I understand it, kerberos is only intended to be a subproject for a short time and then transitioned to a top level project. If that is the case, I am fine leaving it alone. Otherwise, i think we should convert.
Lucas
On Jan 13, 2015 3:34 AM, "Emmanuel Lécharny" <el...@gmail.com>> wrote:
Hi guys !
as everybody knows, we have accepted the code Kerberos donation
recently. This code base uses a different code format than the one we
are using (they are using a Java standard code format).
As much as I like our code format, as this is a separate code base, I
wonder if it makes sense to change all the code base. I'd like to start
a discussion here about it. What's the pros and cons about keeping the
current formatting vs changing it to what we use ?
Feel free to participate !
RE: [Kerberos] Code style
Posted by "Zheng, Kai" <ka...@intel.com>.
>>Here, I would rather keep what we have for haox/kerby.
Thanks a lot for your understanding and the consideration!
>>Don't get religious about code style, religion kills...
I feel the same sad for what happened over there ... Wish everything is fine ...
Regards,
Kai
-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com]
Sent: Thursday, January 15, 2015 12:47 AM
To: Apache Directory Developers List
Subject: Re: [Kerberos] Code style
Le 13/01/15 13:43, Lucas Theisen a écrit :
> I will admit, I still have trouble using the ApacheDS code style. I
> prefer standard java code style. That said, consistency across a
> project is pretty important. Especially for new contributors. Plus,
> java autoformatters are pretty good. I use eclipse to do so on all my
> personal projects and have encountered very few issues with that.
> However, as I understand it, kerberos is only intended to be a
> subproject for a short time and then transitioned to a top level
> project. If that is the case, I am fine leaving it alone. Otherwise, i think we should convert.
Same thoughts here. Beside the fact that I like Directory coding style, but it's also because it's now 10 years I'm dealing with the code base, I really don't mind working using Java coding conventions (I use them for MINA anyway).
Here, I would rather keep what we have for haox/kerby.
Don't get religious about code style, religion kills...
Re: [Kerberos] Code style
Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 13/01/15 13:43, Lucas Theisen a écrit :
> I will admit, I still have trouble using the ApacheDS code style. I prefer
> standard java code style. That said, consistency across a project is
> pretty important. Especially for new contributors. Plus, java
> autoformatters are pretty good. I use eclipse to do so on all my personal
> projects and have encountered very few issues with that. However, as I
> understand it, kerberos is only intended to be a subproject for a short
> time and then transitioned to a top level project. If that is the case, I
> am fine leaving it alone. Otherwise, i think we should convert.
Same thoughts here. Beside the fact that I like Directory coding style,
but it's also because it's now 10 years I'm dealing with the code base,
I really don't mind working using Java coding conventions (I use them
for MINA anyway).
Here, I would rather keep what we have for haox/kerby.
Don't get religious about code style, religion kills...
Re: [Kerberos] Code style
Posted by Lucas Theisen <lu...@pastdev.com>.
I will admit, I still have trouble using the ApacheDS code style. I prefer
standard java code style. That said, consistency across a project is
pretty important. Especially for new contributors. Plus, java
autoformatters are pretty good. I use eclipse to do so on all my personal
projects and have encountered very few issues with that. However, as I
understand it, kerberos is only intended to be a subproject for a short
time and then transitioned to a top level project. If that is the case, I
am fine leaving it alone. Otherwise, i think we should convert.
Lucas
On Jan 13, 2015 3:34 AM, "Emmanuel Lécharny" <el...@gmail.com> wrote:
> Hi guys !
>
> as everybody knows, we have accepted the code Kerberos donation
> recently. This code base uses a different code format than the one we
> are using (they are using a Java standard code format).
>
> As much as I like our code format, as this is a separate code base, I
> wonder if it makes sense to change all the code base. I'd like to start
> a discussion here about it. What's the pros and cons about keeping the
> current formatting vs changing it to what we use ?
>
> Feel free to participate !
>