What new syntactical idioms did Rust invent? It’s pretty plain and easy to read, anyone who has looked at C, C++, Python, C#, Java or anything modern will grok it pretty easily.
What new syntactical idioms did Rust invent? It’s pretty plain and easy to read, anyone who has looked at C, C++, Python, C#, Java or anything modern will grok it pretty easily.
? operator is fine, especially if you’re used to JS or C#, and hardly take up much space.
Pointer types are what, & and * ? Fine if you’re coming from c, c++ and don’t take up much space.
.async is the weirdest for sure, but again hardly strange or disgusting.
What about any of this is worse than if I smashed my face into my keyboard but hit only the $*%#•¥$><~.,!=&@£.?!’ characters, aka writing Perl? Or anything as totally alien as Haskell?
Most Rust I read or write, if I squint, looks like Python with a few extra braces and semicolons.
No disagreement about Perl's ugliness..
Macros are syntax though.
In terms of syntax, you create a box with Box::new just like you might any other struct.
EDIT: anyway I'm not saying that means that your underlying issue isn't real, just that I think describing it as "syntax" makes the issue confusing to understand. It sounds to me like maybe you think Rust programs are too verbose?