News for hackers. Stuff that matters.
Re:Getting started with Rust by building a tiny Markdown com... by berkus on Thursday May 21, 2020 @06:59AM (#23256927)
Hmm, I see the author liberally using _filename as a variable name saying "I just use names with underscores as functions arguments names".

However: In Rust, variables starting with underscores are usually indicating unused ids and if you actually forget to use it - you will not get a warning. As a tutorial material this sets very wrong mindset for the beginners. ONLY start variable with an underscore if you mean to not use it.

@jesselawson - please update this.

Re:Getting started with Rust by building a tiny Markdown com... by jesselawson on Thursday May 21, 2020 @03:08PM (#23263432)
Thanks, berkus. I've added an [issue](https://github.com/jesselawson/rust-tiny-markdown-compiler-t...) to track these valid concerns. I appreciate your help!