Haxe is my favorite programming language. Haxe's macro system is so incredibly powerful that after using it, it makes me cringe every time I have to work with templates in C++. Haxe macros are basically "template meta-programming", but with a lot more power and none of the hideous syntax and error messages. I think the closest parallel in the world of C++ is Circle ( https://www.circle-lang.org/ ). A Haxe macro is ju…
I use them to do compile-time code gen from Omnigraffle and iThoughts files.
Definitely a super power but probably one that only works if you're the sole developer. Macro magic in a team environment is problematic.