News for hackers. Stuff that matters.
Re:Rust can be difficult to learn and frustrating, but it's ... by ilovecaching on Monday October 22, 2018 @11:26PM (#18280512)
Well... compared to Python is kind of an apples to oranges comparison. Compared to Java or C++ I find it to be incredibly direct and expressive. Rust definitely doesn't stop you from writing spaghetti, but no language does.
Re:Rust can be difficult to learn and frustrating, but it's ... by petersellers on Tuesday October 23, 2018 @01:09AM (#18280860)
I don't think the potential for spaghetti code is the problem, I think it's more the terseness of Rust code that makes it hard to read (speaking as someone who doesn't know Rust very well, but has a mild interest in learning it). I agree with the above complaint - it does feel a bit terse and that makes it harder to read IMO.

Languages like Java are more verbose which does make it a bit more frustrating to write but on the flip side I find them easier to read.

Re:Rust can be difficult to learn and frustrating, but it's ... by namibj on Tuesday October 23, 2018 @05:11AM (#18281894)
That's in part due to the compiler not yet being the best in type inference, and should get better (as far as explicit type signatures are required).