Re: Anyone see an issue with this code? :-)
On Wed, Jun 19, 2013 at 10:25 AM, Justin Mclean wrote: > Hi, > > > I feel an aslint application coming up... > It exists for JS so AS shouldn't be hard :-) It already exists and it is called the compiler! I am sure that the generated bytecode for this snippet is quite optimized. > Flex PMD does a good job (but requires a little tuning) I once run it over > the Flex SDK and was rather horrified by the results. :-) > Flex PMD is probably a better bet for these kind of situations. Om
Re: Anyone see an issue with this code? :-)
Hi, > I feel an aslint application coming up... It exists for JS so AS shouldn't be hard :-) Flex PMD does a good job (but requires a little tuning) I once run it over the Flex SDK and was rather horrified by the results. :-) Justin
Re: Anyone see an issue with this code? :-)
I feel an aslint application coming up... ;-) EdB On Wednesday, June 19, 2013, Justin Mclean wrote: > Hi, > > And this may not do what you expect. > > if (true) > trace(true); > else > // will false be traced? > trace(false); > > Justin > -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl
Re: Anyone see an issue with this code? :-)
Hi, And this may not do what you expect. if (true) trace(true); else // will false be traced? trace(false); Justin