4 ms·
> Honestly, I don't see any intrinsic problems with Rust's syntax that makes it unusually ugly. You literally just got a user experience report claiming that i
by sagichmal 7y ago
> Honestly, I don't see any intrinsic problems with Rust's syntax that makes it unusually ugly.
You literally just got a user experience report claiming that it is.
- munmaek 7y agoIt's coming from someone who isn't comfortable with C or Java either. There's no winning over everyone. Of course Rust's syntax will be completely jarring if you're coming from Crystal or Ruby. In my personal experience it's a little jarring at first and then it completely goes away.
- spease 7y agoI’m comfortable with C/++ and Java, to a greater extent than a lot of people I’ve worked with. There are still things in Rust that are papercuts: * The need to put :: before <> in expressions for generic parameters, but not in type signatures. * Using :: instead of just . even though most of the time the naming convention will delineate the difference anyway * Error handling with futures * Self-referential structs * Passing a shared pointer through multiple move closures IMHO the frustration involved in these things is not typically worth being more explicit. The :: thing may seem a bit pedantic, but it is simply more physical effort (Shift-colon-colon vs dot) and creates more visual noise. If/when all of the things above are addressed, I think Rust could give Python a run for its money.