Prev | Current Page 361 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

This is the belief of many desktop -
oriented language authors. However, Flash isn ??™ t so forthcoming and would sooner pretend the exception
didn ??™ t occur than allow the exception to cause any untoward issues. A guess for this kind of ??? blind ??? style
exception handling is that when the Flash virtual machine was developed, Macromedia (or perhaps
Allair ??” the original creators of Flash) did not want Internet surfers to be alarmed by exceptions
appearing because of poorly written Flash movies. If you consider the programming capabilities of the
original developers of Flash movies during the infancy of the ActionScript language, this was probably a
wise choice by Macromedia. However, this kind of decision doesn ??™ t help those developers that would
welcome such support in the more recent renditions of ActionScript.
So, now that you can see what you ??™ re up against, take a look at both Neko and Flash when generating an
exception:
class UncaughtException
{
public static function main()
{
var t : Array < String > ;
t.


Pages:
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373