What's #Metaprogramming? That's when you write a program that generates another program... Like here when I'm designing a graphical program (in Blockly) that will generate a #RustLang program for #PineTime Smart Watch @PINE64 ... https://developers.google.com/blockly/guides/overview
@clacke @PINE64 Very sharp... Must be a Millennial who grew up with Scratch 🙂
Scratch started as a project at MIT Media Lab... Google open-sourced it as Blockly (which I'm using).
Blockly will convert visuals blocks into all kinds of code: JavaScript, Python, Lua, PHP, Dart... Anything but Rust!
So I had to build the Rust Code Generator for Blockly myself... Not that hard 🙂
Why are C Macros hard? Because they are a form of Metaprogramming. So are #RustLang Macros