Wasm Builders 🧱

Discussion on: How I made a calculator in Rust and ran it in an Enarx Keep - Part 2

Collapse
 
timleg002 profile image
timq
  1. No match statement, when it's fit PERFECTLY for this case (this is taught to pre-college students!)
  2. Useless repeated statements - just put them in a function, trim parse all that shit.
  3. Invalid operator - just have an else clause or a default match arm? Absolutely useless. Just THINK.
  4. Why the fuck do you need flushing everything? You don't flush each time the shit falls in the shitter.
  5. stdin with Rust is kinda wonky, but doing it in a loop and not this weird initialize everything
  6. Unwrapping vs expecting - unwrap flush, don't expect it, it's not a user error. Also stop flushing everything!
Thread Thread
 
moksh_pathak profile image
Moksh Pathak

Thanks again for your constructive and positive feedback for a student/intern.
This article is for those, who do not know anything about Rust and have no experience, and the big part of the target audience is students.

We learn from experiences and in the process grow to achieve a higher credibility.
Thanks again and best wishes

Thread Thread
 
timleg002 profile image
timq

This literally ruins the Rust experience for many. They'll only know shit about Rust from now on.

Thread Thread
 
wkoch profile image
William Koch • Edited

timq, you're probably not as good a programmer as you think you are if you need to be this rude to people just to feel better about yourself.

Moksh is still studying, learning a new language and is already publishing stuff, this is just a learning project, it doesn't have to be perfect, it's just one of many projects he'll do while learning Rust. You act like you were never at this stage, like you never did bad code.

You tried to look good here, but just made a fool of yourself:

When you said "This is by far one of the worst introductions to the Rust language I've ever seen.": Moksh wasn't introducing Rust to readers, as the tittle makes pretty clear: "How I made a calculator..." he was just showing his project and explaining what he learned building it.

Then you made a few, simple and badly explained, suggestions about things that Moksh will probably learn by himself in his next projects. But you didn't miss the opportunity to be rude again.

And then: "This literally ruins the Rust experience for many. They'll only know shit about Rust from now on." Seriously? Like anyone learning Rust would use just these posts for studying the language.

I think comments like yours timq are ruining the Rust/Whatever experience for everyone. Be helpful or just shut up.