Hi guys,
I
tweeted about it, but I thought I'd write something here as well --
I find it rather slick that, while you can't define global functions and variables in Haxe, you can easily import static functions and variables to allow you to use the same syntax:
Global.hx
Main.hx
While there are the right times and places to use and not use global-like syntax -- I don't really care to debate that in this thread -- I appreciate that a simple import statement can allow this syntax if you have such a preference.
Cheers,
-Jeff