One question about javascript, is that QC seems to kill and restart
a javascript patch when its input changes. I think this is what
leaves my js code in a bad state, and then an operation on a null
value crashes QC. Is this how it works and designed? ie. should I
submit a feature request for a change? -- I'm just trying to figure
out what is happening first before bugreporting.
There are no global variables in JavaScript in QC, so yes it's as if
a brand new script was executed each time the JavaScript patch is
executed.
Using a null value in operations is permitted (e.g. "1 + null"), but
attempting to call it will generate an error (e.g. foo = null()). In
any case, it should not crash.
If you report those bugs, don't forget to attach the crash logs of
Quartz Composer located in ~/Libary/Logs/Crash Reporter/