简体   繁体   中英

If I learn java how easy will it be to pick up actionscript?

Should I learn Java first and then pick up actionscript latter (to build flash apps)? I guess I am asking if Java is a "real" language that will be a great base, and is actionscript more of a closed language within flash only.

I have played a little with each, but lately I have been putting all my time into Java.

Thanks!

Java is a great language to learn, and I highly recommend it, but since ActionScript is based on ECMAScript, its syntax is about all they have in common. They're really totally different languages, and you use them in very different ways.

One of the biggest differences is that ECMAScript uses prototypal inheritance. Java was my first language, and I had to spend a week or two to learn how to effectively leverage the unique features in ECMAScript-based languages instead of trying to do things the same way I would in Java.

That being said, I have always found that the more I learn about other languages and paradigms, the better my code is in all languages!

If you want to learn ActionScript, learn ActionScript.

If you want to learn Java, learn Java.

If you want to learn Java and ActionScript, learn Java and ActionScript.

One is not a prerequisite to the other. Both are handy to know.

It will definitely be easier. Why learn java then actionscript rather than just actionscript?

Kinda like learning to drive a stick before you learn to drive an automatic.

它们都是面向对象的,actionscript比Java容易得多

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM