News for hackers. Stuff that matters.
Re:Tour of Rust by simias on Sunday July 12, 2020 @09:01AM (#23811000)
I don't think any amount of docs could make the Rust macro syntax palatable. The problem is more fundamental, macros as they are currently implemented are a huge pain to write, even if you know what you're doing. Having to rely so much on recursion for instance adds a lot of complexity.

But on the other hand it means that people are less inclined to abuse them and they're a lot more hygienic than C-style macros...

Re:Tour of Rust by kd5bjo on Sunday July 12, 2020 @11:02AM (#23811885)
> Having to rely so much on recursion for instance adds a lot of complexity.

I’ve written some fairly heavy Rust macro code, and I almost never need recursion— the repetition primitives generally prove sufficient for my needs. What are you doing that needs all the recursion?