5

Using the keyword let to declare constants is not a general convention. The keyword let is used that way in Swift, Rust and Haskell, but in Javascript it denotes a regular variable (just one with a special scope). As for where the use of let to declare variables come from, it's a very old tradition for mathematical proofs: (Source, due to popular demand: ...


3

the language considers String from "string 1.0" a different type from String from "string 1.1" Well, you found a major flow in the language you're designing. Types should be identified by their namespace. As soon as the namespace is kept unchanged between versions, a consumer would use string.String independently if the type is actually ...


Only top voted, non community-wiki answers of a minimum length are eligible