Official: ActionScript Is A Joke

When does 1 - 1 not equal 0? When you're writing ActionScript.

Well, not quite. But in the world according to Macromedia, one value of 0.0078125 is different to another value of 0.0078125. What's that I hear, but they're both the same number, easy to represent in binary (1/2/2/2/2/2/2/2), so their value should be 0.0078125? Well, yes, I would agree, but after a while looking at my algorithms to figure out what I was doing wrong, I have actually discovered that Flash does not agree with us. And I quote from my debug output window:

     val1=0.0078125

val2=0.0078125

val1-val2=8.67361737988404e-19

Bloody toy language.

How a company can manage to get software as buggy and crap as Flash to become the de facto standard for interactive web-bloat, I don't know. Must have been taking tips from Microsoft...

Leave a comment