flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Nazareno <object...@gmail.com>
Subject re: coding conventions
Date Sun, 08 Jan 2012 00:16:59 GMT
Why not adopt the already existing official flex coding conventions &
best practices?


This article already exists and is pretty well written.

Trust me on this, code format consistency is very important for people
with OCD and it matters ;)

I guess one of the biggest points of debate with current conventions
is opening curly braces: same line or drop to next line?

IMHO drop to next line with current conventions is better because it
helps line up blocks of code visually. There are of times when you
have to scroll through blocks of code that span hundreds of lines
(think gamedev, not enterprise) and it's very useful when wading
through those.

My 2c.


carlos nazareno

View raw message