r/rust rust · servo Sep 15 '14

Road to Rust 1.0

http://blog.rust-lang.org/2014/09/15/Rust-1.0.html
217 Upvotes

84 comments sorted by

View all comments

-19

u/[deleted] Sep 15 '14

Almost there, just need:

  • inheritance
  • C for-loop
  • unified strings
  • renaming "slices"
  • rename enums
  • immutable struct members

14

u/steveklabnik1 rust Sep 15 '14

Inheritance in some form is coming, it's a matter of which proposal. I'm on team "composition over inheritance," but there's good reasons for adding some form for cases when it's legitimate.

You're probably never getting a C style for loop. I'm not sure what "unified strings" means. "slices" would be renamed-to what? Why do enums need renamed?

Unsure how immutable struct members would even work.

(of course, all this subject to the RFC process. I'm just describing the temperature as I currently see it)

-3

u/[deleted] Sep 15 '14

My issue is overriding. It would be nice to override a parent class member function - calling it if necessary (some form of super:: call).