is there any diference betwen write a extension in AS or Java?
thx
Java vs ActionScript
-
turtlesoup
- Posts: 77
- Joined: 28 Dec 2007, 20:56
Aswell as being faster it seems to me the java extensions are cleaner from an Object Oriented perspective as the serverside extensions are ActionScript 2. For someone like myself this makes a big difference as I learnt OO and Java well before I learnt ActionScript. If the server side extensions were written in ActionScript 3 I'd feel differently about the issue as I think ActionScript 3 is a fantastic programming language.
A couple of comments:
1. SmartFoxServer supports Actionscript 1.0 on the server side not 2.0
2. If you have good knowledge of Actionscript 3, using Java on the server side is a piece of cake. AS 3.0 is so much "inspired" by java to the point that almost all its keywords are present in Java too.
Check this language comparison for more details: http://flexblog.faratasystems.com/?p=115
1. SmartFoxServer supports Actionscript 1.0 on the server side not 2.0
2. If you have good knowledge of Actionscript 3, using Java on the server side is a piece of cake. AS 3.0 is so much "inspired" by java to the point that almost all its keywords are present in Java too.
Check this language comparison for more details: http://flexblog.faratasystems.com/?p=115
I agree AS3 and Java are great languages. If it were possible I would have a combination of the two though, as there are some features of Java I wish AS3 had, such as function overloading and abstract classes, and some things AS3 has that I wish Java had, such as native getters and setters, and AS3's superb event handling mechanism.
Thinking about it I've written programs in C# before, which seems to encorporate pretty much the best of both these worlds.
Thinking about it I've written programs in C# before, which seems to encorporate pretty much the best of both these worlds.