Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

General discussions to derive guidance:

Null Checks

todo: discussion When to include, when to exclude

...

Approaches to Incremental functionality via beads

todo: discussion (resolve varied views)

Is there one preferred approach to coding beads (or?) ?

...

Compiler

1. Compiler options.

initialised vs. uninitiliased variables

This is a topic of current discussion, with differing views.

todo: discussion (resolve varied views)

Question:

is it better to be compliant with actionscript language expectations as a priority (e.g. myUninitialisedObjectVar === null vs. myUninitialisedObjectVar  === undefined in javascript) or is this a case where we forgo compliance with actionscript expectations in favour of minimal code (e.g. force developer to use .myUninitialisedObjectVar == null for compatibility between targets)

Partial answer: we can support initialisation to defaults as specified by actionscript, and create a compiler option to switch it on or off. So the question then becomes : which is the default? Is full PAYG more important that compliance with actionscript (in the javascript output)?