Common Newbie Mistakes and Bad Practices in Rust: Bad Habits
When you are coming to Rust from another language you bring all your previous experiences with you.
Often this is awesome because it means you aren’t learning programming from scratch! However, you can also bring along bad habits which can lead you down the wrong rabbit hole or make you write bad code.
Note The code written in this article is available on the Rust Playground using the various Run this example links dotted throughout. Feel free to browse through and steal code or inspiration.
Michael-F-Bryan