On Saturday 23 Sep 2006 17:01, D. Michael McIntyre wrote:
> On Saturday 23 September 2006 7:58 am, Chris Cannam wrote:
> > * Indentation will be Java-style, 4 spaces at a time, no tabs
>
> We might should take advantage of this opportunity to get Draconian
> on brace placement too. Pick one style, and use that style
> everywhere.
I did have that in mind. I probably will make the script run an
auto-indent thing, and we'll just have to fix up anything it gets
hopelessly wrong.
It'll be this style:
namespace NamespaceName
{
void
ClassName::functionName()
{
if (conditional) {
doThing();
} else {
doOtherThing();
}
}
}
I will probably leave some inconsistencies in, e.g.
void ClassName::functionName()
as Guillaume writes, or
void
ClassName::functionName()
as I write. And we'll doubtless have inconsistent enum namings
(SOME_MODE versus SomeOtherMode).
Chris
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel