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.

7 Responses to “Rivello Multimedia Consulting Coding Standards Released!!!”

  1. Alan Says:

    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.

  2. sam Says:

    The source file is now a PDF. Good suggestion!

  3. eric fickes Says:

    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.

  4. Samuel Asher Rivello Says:

    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?

  5. BigFan Says:

    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;

  6. 360flex San Jose Notes - Coding Standards - Project Workflow | Axelology Says:

    [...] Sams Consulting Coding standards [...]

  7. Actionscript coding standards and conventions | Ciprian Caba Says:

    [...] in the Adobe Edge. Some documents I found on Actionscript coding standards can be found here, here and [...]

Leave a Reply