My favorite language is still AS3. I think HaXe is pretty bad-ass but, AS3 primed me for all the scripting languages that I know. I remember when I first picked up PHP it was really really easy because a whole lot of it is very similar to AS3 syntactically. It becomes very different in other ways like built-ins and APIs but syntactically they are cousins or something. AS3 was the first class/interface/abstract capable language that I ever learned. I learned design patterns through an 800 page book entitled (something like) Design Patterns in AS3. About 10/12 years ago I completely redirected myself from a drinking problem with AS3. I have so much history with this language it is unreal. I started when it was just called Actionscript (AS1)...about 16 years ago.
@really though I just find weakly-typed languages annoying.
Neither Haxe nor AS3 are weakly typed. In the case of AS3 the closest you will come to weekly typed is :* but, that's a liar symbol cause you are still typing as
bject. In haxe you can weakly type and sometimes you even want to. It uses type inference and sometimes that shit seriously matters. Here is an example of why:
var writer = new format.io.Writer();
BUT in format.io.writer at the very top is a compiler condition
package #if haxeversion > 3 haxe.io #else format.io #end
if I typed writer to format.io.Writer AND I was using a haxe version > 3...we would have some problems. However, through type inference, writer will get properly typed to whatever format.io.Writer returns. It's like it strong/strict types for you.
I understand what you are saying though. I'm sort of opposite. I like the strong typing a lot but, I also like the freedom of the sloppier languages. Javascript, to me, is like a PoC language. You write some slop to get the general idea down and then bring that flow to something worth scripting in and port it, advance it.
@really though I just find weakly-typed languages annoying.
Neither Haxe nor AS3 are weakly typed. In the case of AS3 the closest you will come to weekly typed is :* but, that's a liar symbol cause you are still typing as

var writer = new format.io.Writer();
BUT in format.io.writer at the very top is a compiler condition
package #if haxeversion > 3 haxe.io #else format.io #end
if I typed writer to format.io.Writer AND I was using a haxe version > 3...we would have some problems. However, through type inference, writer will get properly typed to whatever format.io.Writer returns. It's like it strong/strict types for you.
I understand what you are saying though. I'm sort of opposite. I like the strong typing a lot but, I also like the freedom of the sloppier languages. Javascript, to me, is like a PoC language. You write some slop to get the general idea down and then bring that flow to something worth scripting in and port it, advance it.
Comment