incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Flex SDK code conventions
Date Fri, 06 Jan 2012 20:03:04 GMT



On 1/6/12 11:10 AM, "Rick Winscot" <rick.winscot@gmail.com> wrote:

> If, by chance, developers need to diff between rev50 and rev200... all they
> have to do is take rev50 and format it which should give them an approximation
> of rev101. If there is any question - they can always do a three-way compare
> of rev50 (re-formatted), rev101, and rev200. Having one person do the
> re-formatting after the repository is in place... and committing the
> re-formatting changes in _1_ commit is the key.
> 
> Am I missing something?
What steps would I use in SmartSVN on Mac to do this?  I believe I'd have to
get the rev50 copied somewhere, run the formatting tool on it, and run diff
myself.

When we did serious reformatting during the port from AS2 to AS3, it was a
real pain when we needed to diff across the reformatting rev.

That said, I'm willing to live with it if everyone else really wants to have
a full reformatting pass.  I just don't want the desire for consistency to
impede our ability to make progress in the actual code.

I've never been a fan of highly detailed coding conventions.  For example, I
could care less if you use tab or space.  Any modern editor can configure
its tab width.  I do care that a tab is four spaces though and want you to
set your editor up that way.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message