Rivello Multimedia Consulting Coding Standards Released!!!
Please read, love, and adopt my sublime ‘Rivello Multimedia Consulting ActionScript 3.0 & MXML Coding Standards (v1.1)’
If you have any comments (good or bad) please leave comments below this post.
May 15th, 2008 at 8:21 am
Any chance for a .pdf version, or can you suggest another app to view it in. Funny… I don’t own a word processing app.
May 15th, 2008 at 10:01 am
The source file is now a PDF. Good suggestion!
June 19th, 2008 at 10:23 am
This is good stuff. Can anybody explain to me why variables are still suffixed with their datatype? AS is the only language I’ve worked with that uses this convention. Besides Flash’s version of intellisense, I can’t figure out why this convention still lives.
July 3rd, 2008 at 9:33 am
Eric Fickes,
The convention to use variable suffixes is for private variables to make their types more obvious for development. I find the convention of ‘foo_array’ and ‘blah_array’ allow for easily understandable code and lend to consistency. This is more favorable than using varied conventions such as ‘fooList’ when you feel like it and ’setOfBlah’ in other cases.
What reasons do you have to negate type-suffixes?
August 17th, 2008 at 2:14 pm
Fantastic. You are a life saver! I’d like to see [Bindable] the metatag on the same line as the var to save vertical space. i.e.
[Bindable] var name : Type;
August 20th, 2008 at 10:52 am
[...] Sams Consulting Coding standards [...]
July 11th, 2009 at 6:29 am
[...] in the Adobe Edge. Some documents I found on Actionscript coding standards can be found here, here and [...]