|
|
|
|
|
by melvyn2
574 days ago
|
|
The borrow checker exists to force you to learn, rather than to let you skip learning.
To make an analogy, I think it would be weird if I complained that I had to "memorize the rules" of the type checker rather than learning how to use types as intended. |
|
Rust isn't alone in this, languages with type hints are currently going through the same thing where the type-checker can't express certain types of valid programs and have to be expanded.