diary : entry

Official: ActionScript Is A Joke

18th January 2005 at 22:51
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...

Comments

    There are currently no comments for this entry.

Add a comment

Name:(required)
E-mail:(will not be made public)
Website:
Comment:
Animal: Your animal of the day is:


Please enter it below:

Thank you for proving you are a human, not a spammer!
 

Links