Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] does your project require formattedsource code?

Hi Matt,

I think a coding guidelines are one oft he most important thinks I you are running a project with more than one developer. This does not only include formatting rules but also naming conventions (camel case etc.) for classes, variables and so. If the code another developer wrote look as if you have written it, it will be much easier to debug and enhance the software.

We (the CDO Team) have our code formatting guidelines persisted in our SCM, so every committer has the same format. If you enable automatic formatting on save you can be sure that the code is always formatted when you commit it. For the rest (e.g. naming convention) we have guidelines and the luck that our project lead reviews our code and makes sure that we keep track of every rules.

This works fine for us and I am using the same workflow at work and for other projects.

Hope this helps.



Von: cross-project-issues-dev-bounces@xxxxxxxxxxx [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] Im Auftrag von Matthew Heitz
Gesendet: Montag, 3. Oktober 2011 18:45
An: cross-project-issues-dev@xxxxxxxxxxx
Betreff: [cross-project-issues-dev] does your project require formattedsource code?

Hi there,

  Some of the developers on my project have been wondering if we should make a policy that all committed code must be formatted in a certain way.  Do any projects have a policy like this?  How well does it work?


Back to the top