Hacker News new | ask | show | jobs
by travellingprog 2262 days ago
From my experience of trying to learn Rust (got almost halfway through the manual and then put it on hold), I would add that having all these ways of doing the same thing is also confusing from a beginner's perspective. As a noob, I have no idea what the timeline is of when feature A was introduced that does the same thing as feature B. Also, I kept having to dig around to see if feature A added any type of improvements (other than syntactic sugar) over feature B.
1 comments

• try!() has been replaced by ?. You don't even need to know — the compiler will tell you.

• futures 0.1 has been replaced with std::futures.

This is it. This is the exhaustive list of A->B feature changes in the last 42 releases of Rust. Now you know them all.

Rust is aggressive with keeping everyone using the current stable release. In C++ you may need to keep track of feature history to know if something is too new or too old for your compiler/project. There's no such thing in Rust. If you know a feature exists, you can use it.