Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: