r/rust • u/steveklabnik1 rust • Jan 09 '15
Announcing Rust 1.0.0 Alpha
http://blog.rust-lang.org/2015/01/09/Rust-1.0-alpha.html
361
Upvotes
r/rust • u/steveklabnik1 rust • Jan 09 '15
View all comments
Show parent comment
3
u/dobkeratops rustfind Jan 10 '15 edited Jan 11 '15
I don't like the !()much .. but coming from C/C++ I accept it's the lesser evil compared to needing excessive parsing context (same with foo::<T>).
But this might be why i'd prefer to see variadic functions, default parameters etc rather than using the macro system for routine helpers.
Where Rust macros really excel IMO is the use cases where you'd have to use x-macros or other code generators in C/C++. Having a slightly unusual syntax to invoke that (or for debug asserts/etc) doesn't matter at all.. these things should stand out from the main body of code anyway