How to Idiomatically Use Global Variables in Rust
You've heard that you should avoid using global variables in Rust. But they can be useful for configuration or managing state in your app.
You've heard that you should avoid using global variables in Rust. But they can be useful for configuration or managing state in your app.
Kyle Pennell explains why the two new ES6 variable keywords, const and let, are helpful in giving block scoping.