Originally posted by Volta
View Post
''let" is a common keyword as well across many languages including Kotlin, Swift, Haskell etc and hardly limited to Javascript or Typescript. Declaring the type manually all the time is a limitation of the C language. If the variable has an assignment, most other programming languages (including recent versions of C++ via auto keyword) allow you to skip declaring the type manually since the compiler knows what the type is. You could do manually declare it in Rust if you wanted to (ex: let thing1: i32 = 100). It is just not necessary typically.
Comment