My proposal is only a starting point.
But at the end I would like to have a widely accepted coding style for
MyFaces.
I can accept the developer guidelines in the MyFaces wiki:
http://wiki.apache.org/myfaces/MyFaces_Developer_Notes
There is already a reference to the Sun Codestyle.
Have you never read the Developer Notes?
Or is this section not accepted by the community.
My last question:
What is wrong with the Sun codestyle?
I will volunteering the code style.
Sean Schofield schrieb:
The key to MyFaces being a successful project is being flexible.
Everyone needs to compromise. So you can't be disappointed everytime
things do not turn out the way you want. Sometimes people will see it
your way. Sometimes they will not. If you are open minded about
things and learn to live with compromises you will have more fun on
this project. (By the way, I have changed my mind on one of our
earlier disagreements and now agree with you - more on that in another
thread.)
I have accepted how the maven stuff is organized but I would not fight
for it :-)
But I don't see a accepted coding standard some code has leading braces
some not some has _ some not.
I *personally* do not like the '_' style. I do not use it in my code
and I've never worked on a java project (until this one) that has.
Maybe other developer has the same opinion.
That does not stop me from just following the informal standard that
exists now and use it (when I remember to.)
I'm new to MyFaces and I asked is there any consense about the codestyle.
Lets all agree that in the end its more important that there be a
standard rather then what that standard is. I'm ok with whatever you
guys come up with (including the Sun style) but I won't be spending
any time volunteering to refactor things for code style since I can
easily live with what we have.
I won't force you to refactor the code but I hope you will help to
define the accepted MyFaces coding standard.
Sean
Bernd