Hamaluik – Creating a Code Profiler in Haxe Using Macros

Great read if you’re into Haxe macros:

Haxe macros are said by many to be “black magic”, and in some ways they are—macros in Haxe are actual Haxe code (rather than macros in C/C++ for example, which are just fancy pre-processor directives). Macros are undoubtedly the most advanced feature of Haxe and probably the hardest to grasp, however I think a major reason for that is a lack of really solid documentation on the subject. To me, the Haxe docs regarding macros are somewhat obfuscated and leave something to be desired, and unfortunately there’s not a lot of other resources online. This is what led me to embark on my own journey of learning Haxe macros, and hopefully starting to shed a little more light on their mystery.

Jeff Ward – Haxe Notes For ECMA Coders: Object Literal Notation

Must read article by Jeff Ward:

ECMAScript programmers (JavaScript, ActionScript, etc) are familiar with writing object literals in JSON notion. This appears to work in Haxe, but you’ll quickly run into pitfalls and type issues. A bit of background about the Haxe type system will help you avoid a lot of frustration.