Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Code formatting & clean-up standards.

Hi Miles,

We use 120 chars per line. That seems to be enought to prevent line wraps most of the time. If not we use temporary variables to make it shorter and more readable.

My impression is that we have enough cross platform rules. Discussions (elsewhere) about formatting in particular have never resultet in any consesus. In my project I just dictated them and I review everything, also to ensure that my formattting and coding standards are met. We've received excellent feedback from the community for our code quality. I think it's important to store the respective profiles *inside* your projects so that they do not depend on local workspace settings.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 14.02.2011 19:16, schrieb Miles Parker:
Now that I actually have the "problem" of coordinating multiple committers, I wonder hat other projects are doing WRT to project and cross-project code formatting standards. At one point I had all sorts of custom things setup, but I realized that that made every change from another platform and every code generation create report all sorts of meaningfulness SCM modifications and I'm just discovering makes patches and git merges that much harder to grok. So I've been moving to the "Eclipse built-in" with one major exception -- the 80 char max line limit just seems way to limiting given modern IDEs and creates a ton of unnecessary and hard to read extra lines IMO. Is there / has there been any effort to have a standard set across platforms? I know for one thing that almost every code *generation* tool (mine included) seems to use different formatting.

Then there is the whole issue of Java coding standards, of which I hate to even bring up* but I'm wondering if there has been any though about that cross-project and if not if anyone is interested in entertaining that..

cheers,

Miles


  [personally I think the

if (x)
	do y;

construct is a great evil, but I appear to be in the minority.. ;D]
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev




Back to the top