Rust is doing this correctly. It’s better to model things as they are rather than requiring a bunch of implicit knowledge.
The simplicity of C is dangerously misleading.
Eric Fredinetwitter.comRust is doing this correctly. It’s better to model things as they are rather than requiring a bunch of implicit knowledge. The simplicity of C is dangerously misleading.

Coding is so much easier when you think in terms of invariants
One good actionable way of doing this is adding assertions in your code
And this is why strong type systems are effective, you can encode and enforce invariants within types https://t.co/kke8HCJj4a
