Grouping Data and Functionality with Structs | Rust Fundamentals Part 11 #rustlang #oop

preview_player
Показать описание
#tutorial #cleancode
In this last episode of the Rust Fundamentals, we take a look at structs for grouping data and functionality. This enables us to develop in a more modular way and encapsulate data.

Build videos and an advanced tutorial series will follow on this channel.

Find me elsewhere:
Рекомендации по теме
Комментарии
Автор

While reading the Rust book, I got confused why the referenced parameters are not dereferenced inside the implementation code block when passing a mutable reference. Now it makes sense.
New to Rust and your tutorials, way of teaching, everything is super useful! Been binge watching your channel. Thanks for your time!

karthik
Автор

Thanks for this series! You've helped to clarify and solidify key concepts covered in the Rust Book! I look forward to following your other tutorials. Just a suggestion for your for future tutorials, perhaps you can consider hiding your file explorer in your text editor, so that the main editing screen can take up more real estate on the screen. This will make the code easier to read. Currently, I split my screen when watching your tutorials, and code as you go along. But I find that I have to make the YT portion of the screen much bigger than my editor, so I can read your code.

Just a small suggestion. In any case, your lessons are clear, precise and easy to follow. I also appreciate your additional animations and slides to explain some of the technical bits behind the code. Keep up the good work!

brrrrett
Автор

i thought you were vsauce from the thumbnail so i clicked 😂 but i wasnt disappointed definitely gonna check out the other parts

okage_
Автор

Thanks for the video! I agree with the point. IMO algebraic data types are a more modern solution than classes and Rust made a good choice using them. But it's a bit sad that inheritance is completely removed

fabricehategekimana
Автор

Inheritance... not directly but still
Polymorphism? Why not?

AK-vxdy
join shbcf.ru