Rust Basics 2024: Lesson 12 | Structs

Поділитися
Вставка
  • Опубліковано 29 кві 2024
  • Your support is critical to keep the channel running -
    🎩 Become a Patron: / bekbrace
    🎗️ Become a member: Join @BekBrace
    ☕ Buy me a coffee: ko-fi.com/bekbrace
    🕒 Duration: 11:50 minutes
    🎓 Instructor: Amir Bekhit
    Congratulations on completing Lesson 11 of Rust Basics! In the previous lesson, you delved into Loops, mastering the art of automating repetitive tasks within your Rust programs.
    Welcome to Lesson 12: Structs! In this session, we explore one of Rust's fundamental building blocks: structs. Structs are essential for organizing and encapsulating related data into cohesive units, enabling you to create more structured and maintainable code.
    In this lesson, you'll learn about:
    Understanding Structs: Explore the concept of structs and how they facilitate data organization and abstraction in Rust.
    Defining Structs: Learn the syntax for defining and initializing structs, along with best practices for struct design.
    Methods and Associated Functions: Dive into methods and associated functions within structs, allowing for behavior encapsulation and reusable code patterns.
    By mastering structs, you'll gain the ability to create robust and modular codebases, enhancing code clarity, maintainability, and scalability in your Rust projects.
    Stay tuned for more enriching tutorials as we continue our exploration of Rust's advanced features, guiding you on your journey to becoming a skilled Rustacean pro. Happy coding! 👋🦀
    Resources:
    Official Rust Documentation: rust-lang.org
    "Programming Rust: Fast, Safe Systems Development" by Jim Blandy and Jason Orendorff.
    "The Rust Programming Language" by Steve Klabnik and Carol Nichols.
    Social Media:
    𝕏: / bekbrace
    IG: / bek_brace
  • Наука та технологія

КОМЕНТАРІ • 12

  • @volodyslove
    @volodyslove Місяць тому +1

    Great explanation! Thank you!😁

    • @BekBrace
      @BekBrace  Місяць тому

      Thank you so much Volod :)

  • @iamprincemuel
    @iamprincemuel 13 днів тому +1

    Hey Bek. Amazing series. I started Rust in December last year, but had some trouble understanding the Ownership/Borrowing concepts but I was able to finally get a clue after watching your video on the topic.
    I know I'll be able to fully understand once I've worked with it for a while, so thanks.
    P.S: what's the name of your vscode theme in this video?

    • @BekBrace
      @BekBrace  13 днів тому

      Thank you so much for your kind comment, the vscode theme is Safira thene

    • @iamprincemuel
      @iamprincemuel 13 днів тому

      ​@@BekBrace My pleasure. Hey for the theme, I meant the one in this video

    • @BekBrace
      @BekBrace  13 днів тому

      Safira

    • @iamprincemuel
      @iamprincemuel 13 днів тому

      @@BekBrace yeah, I already tried it. It matches the one in the other videos but not this one. The one in this video is a different theme. Or can you send me the extension link? thanks

    • @BekBrace
      @BekBrace  12 днів тому

      Oh, I will try to remember it then

  • @pikselpiksel6152
    @pikselpiksel6152 Місяць тому

    What is your font?

    • @BekBrace
      @BekBrace  Місяць тому

      Hey 👋. Watch my last video about vscode themes 2 days ago, I talked about the font I used.

    • @pikselpiksel6152
      @pikselpiksel6152 Місяць тому

      @@BekBrace Thank you 🙏