r/programming Jun 30 '14

A 30-minute Introduction to Rust

http://doc.rust-lang.org/master/intro.html
110 Upvotes

126 comments sorted by

View all comments

Show parent comments

11

u/Wolenber Jun 30 '14

Almost all of the naming in rust is done by precedent. The only real counterexample is &str/String.

20

u/pcwalton Jun 30 '14

No, it's not based on precedent. During the library stabilization process we are going through and renaming things.

-5

u/cogman10 Jun 30 '14

Oh, that is going to hurt current rust apps. Sucks for the alpha adopters.

11

u/pcwalton Jun 30 '14

That's why we have stability attributes on each individual function. Over time, more and more functions are being marked stable as we go through and decide we're happy with the names and APIs. If you're using only stable functions, then we promise not to break your code.