Rust Handles Errors Way Better Than Python
ArjanCodes ArjanCodes
234K subscribers
15,797 views
0

 Published On Apr 26, 2024

In this video, I’ll show you how Rust handles errors and when to use which type of error handling, based on my own experience.

🔥 GitHub Repository: https://git.arjan.codes/2024/rust_err...

💡 Get my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide.

💻 ArjanCodes Blog: https://www.arjancodes.com/blog

✍🏻 Take a quiz on this topic: https://www.learntail.com/quiz/apifir

🎓 Courses:
The Software Designer Mindset: https://www.arjancodes.com/mindset
The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level...
The 30-Day Design Challenge: https://www.arjancodes.com/30ddc

🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes.

👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

Social channels:
💬 Discord: https://discord.arjan.codes
🐦Twitter:   / arjancodes  
🌍LinkedIn:   / arjancodes  
🕵Facebook:   / arjancodes  
📱Instagram:   / arjancodes  
♪ Tiktok:   / arjancodes  

👀 Code reviewers:
- Yoriz
- Ryan Laursen
- Dale Hagglund
- Kit Hygh
- Alexander Milden
- Bean

🎥 Video edited by Mark Bacskai:   / bacskaimark  

🔖 Chapters:
0:00 Intro
0:48 Error handling in Python
3:36 Understanding Rust's Error Handling Paradigm
5:40 The Power of match
7:37 Error Handling with the ? Operator
12:11 Unwrapping Errors: panic!, unwrap and expect
16:05 Final Thoughts
17:37 Outro

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!

show more

Share/Embed