On 06/14/2012 06:06 PM, Patrick Walton wrote:
Well, I'm concerned that Rust code will be littered with ^ everywhere, which doesn't look like a pointer to most programmers. It'd be nice if, when a programmer looks at a glance at typical Rust code, the meaning of the pointer sigil were obvious. ^ will be significantly less common.
A data point from a C++ programmer just learning about Rust. A few years ago I had no choice but to write some dotnet managed C++. I didn't mind the ^s and they didn't take any time to get used to. It was actually a lot nicer than if they had just slapped another __qualifier on the common syntax. It's not any weirder than any of the other decorations we put on pointers if you think about it. -> is the only one that really makes any sense. - Marsh _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
