|
Posted by Ben C on 10/06/07 08:32
On 2007-10-05, Travis Newbury <TravisNewbury@hotmail.com> wrote:
> On Oct 5, 9:58 am, Ben C <spams...@spam.eggs> wrote:
>> > Flash itself is a web browser. It's also a virtual machine, we an
>> > extremely powerful programming language at its core.
>> Isn't its programming language very similar to/the same as JavaScript?
>
> It is as similar as C++ is to Javascript.
No, it's much more similar than that.
If I understood SpaceGirl it's a superset of ECMA-262 (which _is_
JavaScript) with some new bits bolted on recently that look a bit like
Java.
http://en.wikipedia.org/wiki/ActionScript:
With ActionScript 2.0, developers could constrain variables to a
specific type by adding a type annotation so that type mismatch
errors could be found at compile-time. ActionScript 2.0 also
introduced class-based inheritance syntax so that developers could
create classes and interfaces, much as they would in class-based
languages such as Java and C++. This version conformed partially to
the ECMAScript Fourth Edition draft specification.
C++ is quite a bit different: it's a machine-oriented language with
mostly value semantics and manual storage management.
[Back to original message]
|