Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] Coding style

I just released the cocing style change to the SVN trunk which means that we now have a new revision of all java code. It will be hard to make history comparisons that span over this revision. Such comparisons will likely need to be split in two. Prior and after the coding style change.

- thomas


On 12/11/2009 10:12 AM, Thomas Hallgren wrote:
Hi,
Buckminster uses a coding style that differs from the one used by the
majority of the projects at Eclipse.org. In particular, we put the '{'
on a new line, i.e.

int size()
{
return size;
}

instead of:

int size() {
return size;
}

For historical reasons (before syntax coloring made the distinction
really easy), we also prefix our fields with m_ or s_, i.e.

private int m_size;

rather than

private int size;

I think it might be time to abandon our own style.

What's your opinion?

Regards,
Thomas Hallgren



Back to the top