Rust has been a practical experiment in macros for ten years now. I think it is safe to say the results are in: macros are great, and you just needed to have a better style of macros. Making and using something like `tokio::select!` in C-style macros is miserable, but `tokio::select!` is easy to use and understand in Rust.
pie_flavor · · focus · HN ↗
udderidder · · focus · HN ↗
[dead]
xg15 · · focus · HN ↗
It's starting with the exception before you even had a chance to understand the rule.
kvemkon · · focus · HN ↗
> by default, variables are immutable
Well, since the name is a "variable", it must by default be mutable. Otherwise it is an exception being forced to become a standard case.