Thanks Mark.
On Jun 20, 2007, at 1:11 PM, Mark Wieder wrote:

Keep standard handlers (i.e., mouseUp) as short as possible, putting the
real code in separate handlers:

on mouseUp
  doSomething
end mouseUp

on doSomething
  --lots of code here
end doSomething
----------------------------------

Quote string literals:
Use "hello" instead of hello.

----------------------------------
And since you've already decided that not everybody will agree with all of
these:

Declare your local variables and enable the "variable checking by default"
option.
It will help prevent typos and cut down your debugging time.

Right. On this one I have to weigh the gain of catching typos against the pain of giving beginning students yet One More Thing to remember while they're struggling to get their heads around the whole idea of variables.

Regards,

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to