Rust Match Expressions and Patterns 🦀
Ғылым және технология
Let's explore the Rust "match" control flow expression, along with Rust "patterns!" These two concepts work jointly, to enable an alternative to lengthy if..else if..else statements. Rust provides many different types of pattern syntaxes, so let's explore a few of them for starters!
🤯 Rust Programming Playlist 🦀 • Rust Programming Tutor...
📖 Rust Match Expression: doc.rust-lang.org/reference/e...
📖 Rust Patterns: doc.rust-lang.org/reference/p...
Visual Studio Code ➡️ code.visualstudio.com
Rust Website ➡️ rust-lang.org
Rustup Installer ➡️ rustup.rs
Rust Docs ➡️ doc.rust-lang.org/book
Please follow me on these other social channels!
➡️ trevorsullivan.net
➡️ github.com/pcgeek86
➡️ / pcgeek86
➡️ / trevorsullivan
➡️ / trevorsoftware
➡️ tiktok.com/pcgeek86
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
#opensource #software #linux #devops #programming #rusty #rustdev #dev #coding #codinglife #code #coder #ubuntu #ubuntulinux #appdev #rustlang #rust #developer
Пікірлер: 16
Check out the full Rust 🦀 programming playlist! kzread.info/head/PLDbRgZ0OOEpUkWDGqp91ODn0dk7LPBAUL
The series is amazing! Keep doing it, man! You are an inspiration and a great teacher! I hope you get much more subs, because you deserve it!
@TrevorSullivan
2 ай бұрын
Thank you!! I'm glad you enjoyed this series. I plan on adding more to it, but I don't have a lot of time. 🦀 Enjoy writing Rust code!
i am watching this series from starting really getting more and more
@TrevorSullivan
2 ай бұрын
Thank you, Pankaj! I hope you learn a lot and enjoy writing Rust! 🦀
You're indeed a teacher. Keep moving... You're one of the best out there!
Really enjoying this series. Blown away by the quality. I hope you pick up a lot more views and subs. I have recommended your playlist to my friends
@TrevorSullivan
8 ай бұрын
Thank you for your support!! I'm glad this series helped you! 🦀
My favorite thing about match is how it's used with enums. Really like it!
Thanks for your tutorials.I learned a lot things about Rust language
Very helpful!
i believe it doesnt give a warning for the 1..=36 because some part of the pattern can still be reached. only 0 and 5 are unreachable
Thanks a lot. I'm learning Rust as a First language and your videos were immensly helpful for me
@TrevorSullivan
8 ай бұрын
I'm glad you're learning Rust! Go forth and build some cool applications! 🦀
Your videos are great but it would be more great if you explain what things do and use some easy than medium than hard examples.
@teefus1
2 ай бұрын
but this is considered easy..