DEV Community

Discussion on: 5+ ways how Rust makes you a better programmer: An initial review of my new favorite programming language

Collapse
 
jimskapt profile image
Thomas Ramirez

It's a good showcase, but i'm affraid you've made a mistake when you say that there is not return instruction in Rust ?

Collapse
 
djeikyb profile image
jacob

Aye, I wonder if maybe an old version of rust is being reviewed? There's some good return examples here: doc.rust-lang.org/rust-by-example/...

Collapse
 
myterminal profile image
Mohammed Ismail Ansari

Well, unfortunately, that was me. :(

Collapse
 
myterminal profile image
Mohammed Ismail Ansari • Edited

This is really embarrassing! I misrepresented the language and ran to conclusions without sufficient research. I just made an update to the post.

Besides, thank you for being so nice while pointing out my mistake. I find this to be one of the most polite ones I've received ever. :)

Collapse
 
jimskapt profile image
Thomas Ramirez

It's OK, don't worry, nobody is perfect and mistakes are part of the natural learning process ! ;-)

Please continue to talk about Rust !