4 ms·
Yep. The same applies with Scala too (with `val` vs `var` declarations). I still don't like the separation of type declarations with the actual implementation;
by azth 13y ago
Yep. The same applies with Scala too (with `val` vs `var` declarations). I still don't like the separation of type declarations with the actual implementation; they should be the same, which is what Rust and even C++ got right.
- danieldk 13y agoWell, with C++'s 'mutable' it's also not much more than a promise ;).