4 ms·
They do expand to code. They shouldn't mess up debugging or confuse tooling. They're much more similar to Lisp-style macros than the C preprocessor.
by steveklabnik 10y ago
They do expand to code. They shouldn't mess up debugging or confuse tooling. They're much more similar to Lisp-style macros than the C preprocessor.
- nurettin 10y agoOh, ok, the word macro is heavily overloaded and it seems I misinterpreted the Rust use of macros. But oh boy it costs lots of rep to ask a question.
- kibwen 10y agoTrust me, every C and Lisp programmer in the world is upset that both languages use "macro" to mean such wildly different things. :)