I'm not completly new to Rust, but for some reason writing a Markdown has become a routine project I do in every language I'm learning.<p>This tutorial looks fantastic. Is the layout based on a 3rd-party theme or template? I really like the presentation.
Hmm, I see the author liberally using _filename as a variable name saying "I just use names with underscores as functions arguments names".<p>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.<p>@jesselawson - please update this.
I think the author did a great job with the format of this tutorial!<p>It includes all the steps needed to write the app, has exercises, is neatly splitted to chapters with clear expectations and summaries for each chapter and so on. Everything needed to reduce frustration, maximize knowledge retention, and make it a nice experience as possible to the reader. Awesome work!
1. This is more of a "taste-teaser" than a tutorial in my opinion, but it's nice enough I guess.<p>2. Perhaps a different page for each chapter/part would have been nice.<p>3. I wonder how different would a C++ "taste-teaser" with the same scope and goal be.<p>4. I'm not a Rustian (Rustic? Rust-guy?); this seems strange to me:<p><pre><code> // Try to open the file
let file = File::open(&input_filename)
.expect("[ ERROR ] Failed to open file!");
</code></pre>
why am I expecting an error? Shouldn't that keyword be "on_exception" or something?