3 ms·
I like that Swift has var and let. Having the first letter be different means less typing with autocompletion. I suppose when I get to use voice recognition f
by melling 7y ago
I like that Swift has var and let. Having the first letter be different means less typing with autocompletion.
I suppose when I get to use voice recognition for coding, there will also be less confusion.
- eyelidlessness 7y agoGenerally speaking most languages treat `let` as constant/immutable, and the real shame is that JS did not. It's understandable why (they needed a block-scoped `var`), but unfortunate nonetheless.