flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: coding conventions
Date Sun, 08 Jan 2012 16:40:37 GMT

On 1/8/12 12:26 AM, "Sebastian Mohr" <masuland@gmail.com> wrote:

> I would only extend these Coding Conventions with a few rules for Flex
> 3:

I only skimmed the Flex 3 one, but I see a couple of issues:

1) you recommended tabs in CSS where I think we use spaces throughout.
2) you want properties before constructor in AS files where we do static
things before the constructor
3) I don't like requiring order of MXML attributes unless we require
one-per-line which I don't like either, because then small changes can
result in more diffs showing up as attributes are forced to other lines.

I appreciate the desire for exactness and consistency, but unless you can
express all of these rules in a tool, it gets to the point where it slows
down progress.

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message