Beginner Programmer's Guide to Composition in OOP (Examples in C# dotnet!)

Sdílet
Vložit
  • čas přidán 19. 03. 2023
  • Are you a beginner programmer learning about Object Oriented Programming (OOP)? If so, you've likely heard of Inheritance, but what about Composition? Check out this video to understand the basics of Composition with some code examples in C#!
    Want the code used in this video? Check it out on GitHub:
    github.com/ncosentino/DevLead...
    For more beginner programming videos, check this out:
    • How to Setup Watches t...
    Check out more Dev Leader content (including full in-depth articles with source code examples) here:
    linktr.ee/devleader
    Social Media:
    CZcams: / @devleader
    TikTok: / devleader
    Blog: www.devleader.ca/
    GitHub: github.com/ncosentino/
    Twitch: / ncosentino
    Twitter: / devleaderca
    Facebook: / devleaderca
    Instagram: / dev.leader
    LinkedIn: / nickcosentino
    #softwareengineer #softwareengineering #softwaredeveloper #softwaredevelopment #oop #objectorientedprogramming

Komentáře • 19

  • @DevLeader
    @DevLeader  Před rokem

    ✅Like, ✅share, and ✅subscribe to the channel for more full length content about software engineering topics presented by a Principal Software Engineering Manager 🤓

  • @PUR3UzZi
    @PUR3UzZi Před rokem +4

    Awesome video. As an intern software engineer this video explained composition the best! Thank you so much 🥺

    • @DevLeader
      @DevLeader  Před rokem

      Awesome! I'm glad you found this helpful!!

  • @iliashterev38
    @iliashterev38 Před 7 měsíci +1

    Good examples. Thank you and greeting from Bulgaria.
    I think as far as car or track steering is concerned we should have front wheels and back wheels as a pairs. So during a turn we can send data from the steering wheel like degrees of turning to the front wheels and make them change the angle too with corresponding number. :) :)

    • @DevLeader
      @DevLeader  Před 7 měsíci +1

      Thanks for the comment! And sending my greetings back to Bulgaria 😁
      Haha! Great point about the wheels 😂 sometimes coming up with examples for illustrating concepts leaves a lot to be desired. But your thought process around how you'd design that is great!

    • @iliashterev38
      @iliashterev38 Před 7 měsíci

      @@DevLeader Long ago I worked in a wheels alignment garage shop. And if I have to shine in all my glory 😆😆 I can say that when turning, the two front wheels have different degrees. The one internal to the curve has sharper angle than the one external. That is because they "draw " two different circles with different radiuses.

  • @vivekkaushik9508
    @vivekkaushik9508 Před rokem +1

    Nice video man. I see you made some changes in your video style. Thanks. ☺

    • @DevLeader
      @DevLeader  Před rokem +1

      Awesome, glad you noticed! I had a few more pre recorded (essentially for the rest of March) but otherwise I will be trying to do this (until the next set of improvements 🙂)

    • @vivekkaushik9508
      @vivekkaushik9508 Před rokem

      ​@@DevLeader Much appreciated. 😇

  • @user-qf6lx5mz4c
    @user-qf6lx5mz4c Před rokem +1

    nice

    • @DevLeader
      @DevLeader  Před rokem

      Thanks! Glad that you enjoyed it!

  • @PUR3UzZi
    @PUR3UzZi Před rokem +1

    Do you have any online courses for sale?

    • @DevLeader
      @DevLeader  Před rokem +1

      Currently I'm not offering any courses. I haven't taken the time to organize my content that way but it's been on my mind. I also tend to believe that courses aren't the most effective way to learn (just my opinion) compared to just building things.
      Did you have any other topics you'd like to see covered?

  • @dmtree8570
    @dmtree8570 Před 10 měsíci +1

    Good video. wish u used classes instead of records so it would be more familiar

    • @DevLeader
      @DevLeader  Před 10 měsíci +1

      Glad you found it helpful, and thanks for the feedback! Have you had a chance to check this out?
      czcams.com/video/HZMh-unN-fY/video.html
      You might find it helpful if you're trying to get more familiar with records 🙂

    • @dmtree8570
      @dmtree8570 Před 10 měsíci +1

      @@DevLeader thanks, ill check it out ♥

    • @DevLeader
      @DevLeader  Před 10 měsíci +1

      @@dmtree8570 just ask if you have any questions 🙂 I'm happy to cover it in a video!

  • @brioown
    @brioown Před 8 měsíci

    Wish you had shown some practical example that is required in the Software paradigm!!!!

    • @DevLeader
      @DevLeader  Před 8 měsíci

      Care to elaborate? The best thing about videos is that there can always be more.
      But from your comment, I can't actually discern what you'd like to see included.