Rust has very interesting concepts (e.g. ownership), but coming from Java/Kotlin the syntax makes me want to scratch my eyes out. Rust is the only programming language I've ever seen that manages to have single-quotes (') NOT showing up pair-wise. Why..?
Rust has very interesting concepts (e.g. ownership), but coming from Java/Kotlin the syntax makes me want to scratch my eyes out. Rust is the only programming language I've ever seen that manages to have single-quotes (') NOT showing up pair-wise. Why..?
Yes, the syntax does seem a bit strange. But I have to admit Rust syntax was much easier for me to stomach than Scala 😜
The single quote has special meaning and its never used for strings, its more of a marker for tagging stuff
A preceding apostrophe has been shorthand for QUOTE in Lisp since 1974.