I liked ranking these Design Patterns: Singleton, Module, Adapter, Decorator

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

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

  • @callanambulancebutnotforme5702
    @callanambulancebutnotforme5702 3 месяца назад +5

    12:48 got me checking my wifi😂😂

    • @gamingwolf3385
      @gamingwolf3385 3 месяца назад

      True , i taught it was a bug detected in the code 😂

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  3 месяца назад +1

      Ah damn hahaha there was a loud car passing by and I forgot to cut out that segment 😄

  • @gamingwolf3385
    @gamingwolf3385 3 месяца назад

    This decorator design pattern is it the same used in nestjs or angular with @ ??
    Or maybe in other languages to add more properties to the original object

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  3 месяца назад

      Yes, it is the @ from Angular! I’m not familiar with Nest.js so can’t tell for sure 😀

  • @gamingwolf3385
    @gamingwolf3385 3 месяца назад +1

    Hello thank you for the video , for now no need for the book written by the gang of four
    You are the gang of four 😂😂
    Ok , i want to know something can you go deep in opensource projects maybe we can discuss how they implement this feature , this helper functionn....
    And for performance purposes are functions better or classes , and why typeof CustomClass and typeof Function the two of them return function hhhh crazy js news
    Thank you a lot , بارك الله فيك

  • @kenzo3477
    @kenzo3477 3 месяца назад +1

    Am patiently waiting for your rabbitmq video

  • @SoftwareDeveloperDiaries
    @SoftwareDeveloperDiaries  3 месяца назад

    Which of these design patterns do you use the most?

    • @markoffk
      @markoffk 3 месяца назад +1

      I would like to mention, that it depends on what you mean by "use". For example, in modern JS development with React (and all it's helper libs) and nodejs - singletons are everywhere starting from ES modules. But I never had to manually define Singleton.

    • @gamingwolf3385
      @gamingwolf3385 3 месяца назад

      I like the builder method , for now i am using nestjs so i am using singeleton and dependency injection by default 😅 , there is also the dependency inversion you didn't explain it yet its also used in nestjs

  • @mohit84604
    @mohit84604 3 месяца назад

    Hey brow can you teach DDD(domain driven design in typescript)