3 ms·
Wouldn't Rust's symbol heavy syntax contribute the same?
by shakna 2y ago
Wouldn't Rust's symbol heavy syntax contribute the same?
- swiftcoder 2y agoI think that since a significant portion of Rust developers come from a C++ background, and C++ uses basically the same set of symbols, it's not a huge barrier to adoption
- shakna 2y agoRust actually has a bunch of oddities, to the point they test them [0]. [0] https://github.com/rust-lang/rust/blob/master/tests/ui/weird-exprs.rs https://github.com/rust-lang/rust/blob/master/tests/ui/weird...
- swiftcoder 2y agoThere's really only one sigil in there that isn't in C++ (the ' single-quote to name lifetimes and labels). And it's missing several ambiguities that plague older C++ grammars (i.e. is >> a greater than, or closing two template expressions?)
- CRConrad 2y ago> (i.e. is >> a greater than, or closing two template expressions?) I thought it was a pointer-dereference signifier(, or maybe an object-string-stream thingy)? If you mean C++, that is.