Everyday Design Improvements in OO Code | Guided Learning Hour

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024

Комментарии • 6

  • @br3nto
    @br3nto 8 месяцев назад

    5:54 Why would you want a static factory method over using a constructor? Is it just for improved naming? Or because the function can be passed around?

    • @EmilyBache-tech-coach
      @EmilyBache-tech-coach  8 месяцев назад +1

      The reason for the factory method is so it can return different subclasses once I've created them. By adding this layer of indirection I avoid having to update all the places in the code that call the constructor directly to instead construct subclasses.

  • @TheAd1997
    @TheAd1997 8 месяцев назад

    Absolutely love your channel! I'm really curious to hear your thoughts on AI's impact on software engineering and whether it'll enhance the quality of codebases. Keep up the fantastic work!

    • @EmilyBache-tech-coach
      @EmilyBache-tech-coach  8 месяцев назад

      Thanks! I'm also interested in AI coding assistants, thanks for the prompt to talk more about it on the channel.

  • @younesdjelloul2467
    @younesdjelloul2467 8 месяцев назад

    Amazing video Bache, thanks! May I know the IDE name? :)

    • @EmilyBache-tech-coach
      @EmilyBache-tech-coach  8 месяцев назад +1

      This demo in C# uses the Rider IDE. There's a longer version of this demo in another video - ruclips.net/video/IvFX8Ivit1k/видео.html