News for hackers. Stuff that matters.
Re:We Should Be Able to Change Our Languages by pie_flavor on Saturday September 26, 2026 @11:58PM (#49863229)
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.
Re:We Should Be Able to Change Our Languages by xg15 on Sunday September 27, 2026 @08:06AM (#49865966)
Still learning Rust, but I found it unfortunate that basically the first command you're introduced to, println/print is a macro.

It's starting with the exception before you even had a chance to understand the rule.

Re:We Should Be Able to Change Our Languages by kvemkon on Sunday September 27, 2026 @09:57AM (#49866685)
And one of the very first rules is:

> 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.