rustlang Show more
I'm an imperfect programmer. If there's a away to structure an API or use a compiler that saves my butt, I'm going to use it. That's why I really like Rust. Rust saves my butt (or it will if I ever use it in prod)
For instance, I'm trying to convince a coworker to use a higher-ordered function to protect access to a value that needs to be locked.
https://gist.github.com/ericmoritz/992ddd2d96901728e3f315114fc5926d
In this example, it is impossible to access the value outside of a lock.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!
rustlang
In this example, it is impossible to access the value outside of a lock.