incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Francis Buhler <davidbuh...@gmail.com>
Subject Re: Code formatting for patch submissions
Date Mon, 27 Feb 2012 04:37:10 GMT
I believe we just need to standardize on a a set of styles, even if it
isn't to everyone's liking. Consistency is important for reasons we're all
aware of, but the standardized formatting is even more important when you
have very different people working together.

I say we start a new thread and come to an agreement on the formatting
styles, or perhaps nominate someone to come up with a format we agree to
adopt.

On Sun, Feb 26, 2012 at 11:03 PM, Justin Mclean <justin@classsoftware.com>wrote:

> Hi,
>
> > Are we also going to bring up the debate about cuddling v. not
> > cuddling?
> You just did :-)
>
> I assume you mean this:
>
> if (condition) {
>        doSomething();
> } else {
>        doSomethingElse();
> }
>
> vs
>
> if (condition)
> {
>        doSomething();
> }
> else
> {
>        doSomethingElse();
> }
>
> Currently the SDK code doesn't cuddle brackets statements so that would be
> the way to go for now.
>
> Thanks,
> Justin
>
> PS It's not my preferred style

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message