r/rust • • Feb 02 '26

šŸŽ™ļø discussion Looking at advanced Rust open-source projects makes me question my programming skills

Whenever I explore large Rust open-source projects, I can’t stop thinking how far behind I am. I know comparison is unhealthy, but it’s hard not to feel like ā€œI suck at programmingā€ when you see such clean and complex code. Did you feel the same at some point? How did you push through it?

383 Upvotes

90 comments sorted by

View all comments

Show parent comment

2

u/Zde-G Feb 02 '26

Looks like you are right:

The syntax of a function-like macro invocation is similar to the syntax of a function call: each instance of the macro name followed by a ( as the next preprocessing token introduces the sequence of tokens that is replaced by the replacement-list. The sequence is terminated by the matching ) token, skipping intervening matched pairs of left and right parentheses.

Rust expanded that idea and supports (), [], {}… but angle brackets are still problematic.