2 ms·
In my personal projects I usually define macros. They can handle a varying number of arguments, which helps a lot. Though sometimes Rust macros feel just a bit
by alpaca128 5y ago
In my personal projects I usually define macros. They can handle a varying number of arguments, which helps a lot.
Though sometimes Rust macros feel just a bit too strict for me, the way they are checked outright prevents some uses. At the same time they've been really helpful for letting me define a lot of options with a compact syntax.
- axiosgunnar 5y agoThanks for the tip, I will keep this in mind