Rust Crash Course | #5 Variables, Constants & Shadowing

Опубликовано: 14 Ноябрь 2024
на канале: Code of the Future
1,220
58

Welcome back to video number 5 in this Rust tutorial series! In this video, I talk you through a whole range of features when creating variables in Rust.

📖Resources📖
Rust Online Book: https://doc.rust-lang.org/book/

💻Code💻
https://github.com/code-of-the-future...

⏰Time Stamps⏰
00:00 - Quick Recap of the Previous Video
00:57 - Introduction to Variables
01:55 - Creating Variables in Rust
03:00 - Implicit and Explicit Assignment (and reassigning data types)
06:48 - Quick overview of integer types
07:05 - Printing Variables
08:19 - Mutability vs Immutability
12:00 - Reassigning Variables with Different Data Types
14:54 - Assigning Multiple Variables (in a Tuple)
17:17 - Constants
20:59 - Shadowing

🔗 Social Media Links 🔗
▶️YouTube:    / @codeofthefuture  
📸 Instagram:   / codeofthefuture  
📱TikTok:   / codeofthefuture  
📘Facebook:   / codeofthefuture  
🦜Twitter:   / code_ot_future  
📝LinkedIn:   / code-of-the-future  
📂GitHub: https://github.com/code-of-the-future

💸 Donations 💸
One-Time Donations: https://ko-fi.com/codeofthefuture
Patreon:   / code_of_the_future