@amy printf("Hello, Amy!\n");
@amy @vaporeon_ fn main() { println!(“Hi Amy!”); }
@vaporeon_ @amy 🦀🙂↕️
@amy @vaporeon_ I’m not I’m a filthy python casual
println is a macro and macros are always followed by !, there are a couple advantages to it being a macro as opposed to a function:
1) a macro can reference its arguments automatically, so that it doesn’t take ownership of them and they don’t get scrapped when the macro goes out of scope
2) it can check format strings to make sure the arguments and brackets all match up
there are others but I forgor
@cam @amy @vaporeon_ using macro purrepurrocessing to add ad-hoc dependent typing is very funny; i love it
@amy @cam @vaporeon_ yw