News for hackers. Stuff that matters.
Re:Thoughts on Rust, a few thousand lines in by fxfan on Wednesday January 09, 2019 @09:22PM (#18871000)
Scala programmers would recognize this as the difference between () and .get(). I hope rust copied scalas syntax- its much cleaner, rather than trying to be nice to the established system languages (c/c++)

This would also free up the [] to be used for generics and avoid syntactical warts like ::<> parsin

Re:Thoughts on Rust, a few thousand lines in by steveklabnik on Thursday January 10, 2019 @09:10AM (#18873896)
We did have [] for generics, but we changed it back.

It doesn't remove those warts, it moves them.

Re:Thoughts on Rust, a few thousand lines in by paulddraper on Wednesday January 09, 2019 @09:51PM (#18871125)
Scala and C++ syntax are rather similar, no?