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.
Rust was designed for people good at coding but bad at math. Python was designed for people good at math but bad at coding. Haskell was designed for people that are good at both. JavaScript was designed for people that are good at neither.
wordgrammerx.com
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
An interesting property of all of these demos is that they’re always about adding features. Add. More. Add!!! I wanna see more demos of removing features or simplifying stuff. In a way making writing code cheap kinda encourages the worst assumption people already have: more code solves the problem
Tyler Angertx.com