3 ms·
I love the idea of immutability in Swift too. let x = 42 However, for mutability I prefer when the language uses another keyword. Swift uses 'var'. Scala an
by melling 8y ago
I love the idea of immutability in Swift too.
let x = 42
However, for mutability I prefer when the language uses another keyword.
Swift uses 'var'. Scala and Kotlin I believe use val and var.
Throw in non-optional by default and I feel like programming becomes more enjoyable.