How To Learn Haxe As A Javascript Developer
Solution 1:
Haxe and OpenFL in general ARE tailored for Flash developer to access more advanced features and improved performance.
While in time of NME most classes had same name as Flash, but a different package. Now, OpenFL has the same packages, class names, methods etc.
Haxe has a very similar syntax to AS3 (and therefore similar to all ECMAscript languages), the only few differences are:
- Casts
- Contructors
- For Loops
and many minor things, like absence of uint, Number is known as Float etc, semicolon is mandatory.
Feel free to look into ActionScript 3, and you'll be able to just right into Haxe development with no problem. Except the differences listed above there are really few differences for beginner, mid-level developers.
In general Haxe is richer as a language, but as some small features that are present in as3 but missing in Haxe (e.g.: no labels for loops, blocks and if statements)
Post a Comment for "How To Learn Haxe As A Javascript Developer"