3 ms·
That was proposed and rejected for Rust recently: https://github.com/rust-lang/rfcs/pull/3267 https://github.com/rust-lang/rfcs/pull/3267 I was against becaus
by ssokolow 4y ago
That was proposed and rejected for Rust recently:
https://github.com/rust-lang/rfcs/pull/3267 https://github.com/rust-lang/rfcs/pull/3267
I was against because I felt that there should always be parens/brackets/braces (macros can use any of them) for better scannability when you're invoking an unclear amount of extra stuff behind the scenes.
(An appeal to the "make costs explicit" side of Rust's philosophy that also requires explicit .clone() rather than copy constructors.)
Here's the summary of why the consensus was "no":
https://github.com/rust-lang/rfcs/pull/3267#issuecomment-1282943902 https://github.com/rust-lang/rfcs/pull/3267#issuecomment-128...