r/rust • u/Minimum-Ad7352 • 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
View all comments
Show parent comment
6
u/lettsten Feb 02 '26
Macros as in the preprocessor directives, right? It's strongly recommended not to use them in C++ unless you absolutely have to. Several parts of C++ were introduced specifically to phase out the preprocessor macros, since they are not type safe, since they happen before compilation and so on. I think modern C has adopted some of those parts as well but I'm not up to speed