The Bridge Design Pattern (C#)

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 24

  • @afds258
    @afds258 3 роки тому +6

    Best explanation of a Bridge design pattern I've yet to encounter!
    Great thing was that you showed what happens without it and why you need it, very smart.
    Also, that lada vs volo bit was brilliant :D

    • @RawCoding
      @RawCoding  3 роки тому

      Cheers)) glad you like it

  • @mukul79
    @mukul79 3 роки тому +3

    Very clean and to the point. Keep up the good work!

  • @joparicutin
    @joparicutin 3 роки тому +2

    I enjoyed your wall art behind you.

  • @mariomorazan9473
    @mariomorazan9473 3 роки тому +1

    Loving this serie so far man, thnks

    • @RawCoding
      @RawCoding  3 роки тому

      Thank you for watching

  • @S3Kglitches
    @S3Kglitches 3 роки тому +2

    I am sorry but from your tutorial I understood nothing. What is the "Make" exactly? It makes no sense to me.

    • @RawCoding
      @RawCoding  3 роки тому +1

      Make as in the make of the car - what type of the car. Volvo is the make of a car, Audi is the make of a car. The company that makes the car.

    • @S3Kglitches
      @S3Kglitches 3 роки тому +1

      @@RawCoding ahhh car brand or manufacturer, cool, got it now!

  • @kekeke8024
    @kekeke8024 3 роки тому +3

    lada vs volvo implementations are very accurate

    • @RawCoding
      @RawCoding  3 роки тому

      Haha they are fun cars

    • @vilextone8031
      @vilextone8031 3 роки тому +2

      @@RawCoding
      Console.WriteLine(volvo.Crash("50kmh", "wall"))
      Console.WriteLine(lada.Crash("30kmh", "bicycle))
      Output:
      "Bumper dent"
      "Driver and passngers have successfully died of death"

  • @saurabhchauhan232
    @saurabhchauhan232 3 роки тому +1

    Thank you 😊

    • @RawCoding
      @RawCoding  3 роки тому

      Thank you for watching

  • @willingtushar
    @willingtushar 3 роки тому +3

    I didn't get it. maybe I'm not expert enough to understand this.

    • @RawCoding
      @RawCoding  3 роки тому +3

      If you have IRobot and IDog and ITable intefaces to create a robot dog and a robot table you would have to implement robot twice. The bridge is having 1 robot that contains the dog or table to prevent class explosion.

  • @_masterbait
    @_masterbait 3 роки тому +1

    N I C E

  • @clearlyunwell
    @clearlyunwell 3 роки тому +1

    👍🏽

  • @utkuc6168
    @utkuc6168 5 місяців тому

    Please do not code the data as a class for the example. No one codes this way; it only confuses people.