I have a bit of an off-topic question for anybody who writes Rust.
I'm more familiar with web development and higher level languages, but I've always been interested in Rust.
While I know a bit of C/C++, I'm far from an expert. One of the things that turns me off from those languages are the frequent use of really short or cryptic variable/function names.
Is this sort of variable/method naming convention common in the Rust world? I am not criticizing the author or the language here, merely just curious what I should expect if I dipped my toes into Rust.
It depends; Rust is more concise than many languages, but it’s not always that concise. They are in this case because they’re only used once, below the match statement, and are abbreviated forms of the things they’re being assigned to.
Type variables and lifetime names are often only one letter, though.
https://learncodethehardway.org/javascript/