Hacker News new | ask | show | jobs
by shakna 533 days ago
Wouldn't Rust's symbol heavy syntax contribute the same?
1 comments

I 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
Rust 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...

There'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?)
> (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.