5 ms·
> human-readable > sytacticly similar to Rust Choose one. I kid, I kid, but Rust is not the easiest-reading language out there. It has the same problem as C+
by VyseofArcadia 2y ago
> human-readable
> sytacticly similar to Rust
Choose one.
I kid, I kid, but Rust is not the easiest-reading language out there. It has the same problem as C++, with a syntax that's not terribly straightforward to begin with, but then it's just liberally sprinkled with nearly every bit of punctuation that can by typed with the US QWERTY layout.
- samtheprogram 2y agoI find it really straightforward until lifetimes are involved. I used Rust for a few weeks last January.
- Klonoar 2y agoSome of this is just preference at the end of the day. I find modern Typescript to be utter spaghetti and arguably worse at the points you’ve listed here.
- zamalek 2y agoRust is extremely unreadable if you're not used to it, but becomes one of the most readable languages once you are. My subjective experience, at least.
- cloud-oak 2y agoWith some notable exceptions. I'll never love the turbofish [1] for example. [1] https://github.com/rust-lang/rust/blob/master/tests/ui/parser/bastion-of-the-turbofish.rs https://github.com/rust-lang/rust/blob/master/tests/ui/parse...
- nu11ptr 2y agoI love Rust, but would disagree. It is always difficult to read partially because there is so much boilerplate. impl blocks and where clauses in some codebases cause a lot of noise, for example. Granted, it probably could not be as easy to read as say a subset of Python is, for example, simply because it is a very strongly typed systems language and therefore needs to describe a lot more.
- craftkiller 2y agoWell this project isn't the full rust syntax, its just rust's object notation. I don't think its any harder to read than JSON.