Re:C++ design goals in the context of Rust (2010)
by bjz_ on Saturday June 21, 2014 @02:06PM
(#7925608)
Hah, I would caution against looking into the depths of rustc for examples of good examples of rustic code. Many parts of the compiler have changed very little from the original bootstrapping from OCaml, and have only been incrementally updated since then. No doubt it will eventually be cleaned up, but it will be a big effort.
I do agree with the rest of your first paragraph though.
Re:C++ design goals in the context of Rust (2010)
by TheHydroImpulse on Saturday June 21, 2014 @11:10AM
(#7925168)
librustc isn't a very good example of showing, since it's not idiomatic Rust and a mixture of previous iterations.
https://github.com/rust-lang/rust/blob/master/src/librustc/m...
Personally I think most other things in Rust (namespaces, constant as_slice() unwrap() etc.) are currently too verbose, although I'd say that also impedes readability.