Actually I think that my RFC is going to propose changing the name of future Rust editions to Rust++. To distinguish it from Rust. That way us mere mortals will know to stay away from it, like C++.
Only joking.... I hope.
Actually I think that my RFC is going to propose changing the name of future Rust editions to Rust++. To distinguish it from Rust. That way us mere mortals will know to stay away from it, like C++.
Only joking.... I hope.
I realize that many things which help with prototyping go against Rust's usual focus on correctness.
When prototyping I'm OK with lots of implicit behaviors that move details out of the way. But these same features are problematic when debugging or verifying correctness of the code.
Rust doesn't like mess, but prototypes intentionally permit mess.
Maybe Rust could have an attribute like:
#![allow(quick'n'dirty)]
You are making me nervous.
But you have hit on something that occurred to me the other day. That could save Rust from the dreaded feature creep and the endless addition of ever more incomprehensible features.
What if, I thought, all those new features people suggest and will suggest in the future were fundamentally impossible to make work in Rust thanks to it's rigid principles regarding types, alisasing and correctness in general. Then, as long as the Rust devs held their ground and adhered to their principles and core values, Rust would be safe from the C++ style road to ruin.
There's no need to be so cynical about feature requests on Rust forums. The simple reality is that the number of forum posts people make suggesting some feature or other has at most an extremely loose connection to whether the Rust project as a whole takes action.
The overwhelming majority of the time, such suggestions are either:
And such threads are typically full of veterans explaining why the idea falls into one of these buckets. That includes most of this thread.
More concretely, it's worth noting that things like #![allow(non_standard_style)]
have been around for ages, so #![allow(quick'n'dirty)]
isn't exactly unprecedented. I doubt it's the right move here, but we'd have to spell out the idea in more detail to discuss that, and it already seems clear that the right move involves finishing a bunch of features that everyone already agrees we need, so there's not much point at the moment.
But Rust doesn't have a ++ operator, so you should call it Rust += 1
Good point.
Or perhaps Rust<'b>. To be more idiomatic.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.