3 ms·
As of the most recent release, that's now const USAGE: &str = "usage string"; and there's talk of maybe making it const USAGE = "usage string"; > Th
by steveklabnik 9y ago
As of the most recent release, that's now
const USAGE: &str = "usage string";
and there's talk of maybe making it
const USAGE = "usage string";
> The part I hated the most was the Rust macro language.
We don't like it either; there's a replacement coming. We reserved the "macro" keyword before 1.0 and made the current one use the less-good "macro_rules" to help ease the eventual transition.
- GrayShade 9y ago> We don't like it either But.. but.. Scheme macros are so nice!
- steveklabnik 9y agoTotally! It's not about the fundamentals, it's about things like "macros are global" and "almost entirely hygienic but sometimes not", stuff like that. Stuff that would be backwards incompatible to just fix.