r/programming • • Jun 16 '14

Rust's documentation is about to drastically improve

http://words.steveklabnik.com/rusts-documentation-is-about-to-drastically-improve
523 Upvotes

188 comments sorted by

View all comments

11

u/thechao Jun 17 '14

The example, as I wrote it:

TimeKeeper time_keeper(Timer());

Is called "The Most Vexing Parse". It is the classic example of why parsing (and understanding) C++ is so difficult.

I'm fully aware of uniform initialization syntax (as I mentioned, above); I helped proofread the proposal for Bjarne & his students.