Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

7 Design Patterns EVERY Developer Should Know

Автор: ForrestKnight

Загружено: 2024-12-06

Просмотров: 662840

Описание:

Check out Twingate for secure remote work for developers: https://www.twingate.com/?utm_source=...

Today, you’ll learn about 7 different software design patterns. Many of which you already use, whether you realize it or not. Because simply put, they are solutions to common programming problems that appear over and over again, regardless of the language or platform you’re using. That’s what a design pattern is. A repeatable solution to a software engineering problem. Templates that can be applied to multiple situations.

And back in 1994, these four developers now known as the Gang of Four, wrote this book documenting, cataloging, and formalizing 23 commonly used design patterns. So I’d highly recommend reading that book, as it’s still heavily applicable today. But all of these patterns fall into 3 distinct categories.

Creational patterns, are all about object creation. So instead of creating objects directly, these patterns give you more flexibility in how objects come into existence. Think of it like a pizza shop - you don't just throw ingredients together, you might have a menu of pre-defined pizzas (Factory pattern), or let customers build their own piece by piece (Builder pattern).

Structural patterns, deal with how objects relate to each other. Think of them as blueprints for building larger structures from individual pieces. It's like LEGO - you can take complex sets and create simplified instructions for building them. A Death Star has thousands of pieces, but the instruction manual breaks it down into manageable steps.

Behavioral patterns, handle communication between objects - how they interact and distribute responsibility. Which includes the greatest pattern of all time, the strategy pattern. Think of it like switching between different navigation apps - Google Maps for driving, AllTrails for hiking, Transit for public transport. Same goal, different strategies. In code:

The idea of patterns that can exist within software is really amazing. Being able to understand patterns and abstract them out and reuse a strategy to write software is one of the best things you can do, because no matter what software you write there are patterns that can make things simpler and make other people get up to speed.

0:00 3 Types of Patterns
1:34 Singleton Pattern
3:35 Builder Pattern
5:21 Factory Pattern
7:47 Twingate Security
8:58 Facade Pattern
12:56 Adapter Pattern
16:18 Strategy Pattern
20:03 Observer Pattern
22:49 Know When to Use Each One

If you're a developer, sign up to my free newsletter Dev Notes 👉 https://www.devnotesdaily.com/

If you're a student, checkout my Notion template Studious: https://notionstudent.com

Don't know why you'd want to follow me on other socials. I don't even post. But here you go.
🐱‍🚀 GitHub: https://github.com/forrestknight
🐦 Twitter:   / forrestpknight  
💼 LinkedIn:   / forrestpknight  
📸 Instagram:   / forrestpknight  

7 Design Patterns EVERY Developer Should Know

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(10) { [0]=> object(stdClass)#6250 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "gxdQiBkidWk" ["related_video_title"]=> string(46) "8 Data Structures Every Programmer Should Know" ["posted_time"]=> string(27) "9 месяцев назад" ["channelName"]=> string(13) "ForrestKnight" } [1]=> object(stdClass)#6223 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "ZfG8BSTX0Lw" ["related_video_title"]=> string(32) "8 Design Patterns | Prime Reacts" ["posted_time"]=> string(21) "2 года назад" ["channelName"]=> string(12) "ThePrimeTime" } [2]=> object(stdClass)#6248 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "-Y8U8D-a0fw" ["related_video_title"]=> string(100) "Episode 349: Beyond Templates: How AI and Data Analytics Are Changing Content - Satej Sirur (Part 3)" ["posted_time"]=> string(23) "6 часов назад" ["channelName"]=> string(22) "AI Marketing Navigator" } [3]=> object(stdClass)#6255 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "LCEmiRjPEtQ" ["related_video_title"]=> string(45) "Andrej Karpathy: Software Is Changing (Again)" ["posted_time"]=> string(21) "9 дней назад" ["channelName"]=> string(12) "Y Combinator" } [4]=> object(stdClass)#6234 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "zX4u3SudI-0" ["related_video_title"]=> string(72) "3 Coding Projects to Break the Coding Barrier (w/ Instructions Included)" ["posted_time"]=> string(27) "7 месяцев назад" ["channelName"]=> string(13) "ForrestKnight" } [5]=> object(stdClass)#6252 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "TiccevwEVe8" ["related_video_title"]=> string(57) "Learn Java Object-Oriented Programming (with actual code)" ["posted_time"]=> string(28) "10 месяцев назад" ["channelName"]=> string(13) "ForrestKnight" } [6]=> object(stdClass)#6247 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "BT38K6NqETE" ["related_video_title"]=> string(125) "Эксперт по кибербезопасности о ваших паролях, вирусах и кибератаках" ["posted_time"]=> string(27) "6 месяцев назад" ["channelName"]=> string(22) "Раскадровка" } [7]=> object(stdClass)#6257 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "blWdjRUPP6E" ["related_video_title"]=> string(72) "Разведчик о том, как использовать людей" ["posted_time"]=> string(25) "4 недели назад" ["channelName"]=> string(18) "Коллектив" } [8]=> object(stdClass)#6233 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "nrEdavr-d6c" ["related_video_title"]=> string(117) "Путин на скамье подсудимых / Соловьёв захватывает страны Балтии" ["posted_time"]=> string(23) "6 часов назад" ["channelName"]=> string(12) "NEXTA Moment" } [9]=> object(stdClass)#6251 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "f5vLvG-P73c" ["related_video_title"]=> string(126) "ООП На Простых Примерах | Объектно-Ориентированное Программирование" ["posted_time"]=> string(27) "5 месяцев назад" ["channelName"]=> string(14) "Vlad Mishustin" } }
8 Data Structures Every Programmer Should Know

8 Data Structures Every Programmer Should Know

8 Design Patterns | Prime Reacts

8 Design Patterns | Prime Reacts

Episode 349: Beyond Templates: How AI and Data Analytics Are Changing Content - Satej Sirur (Part 3)

Episode 349: Beyond Templates: How AI and Data Analytics Are Changing Content - Satej Sirur (Part 3)

Andrej Karpathy: Software Is Changing (Again)

Andrej Karpathy: Software Is Changing (Again)

3 Coding Projects to Break the Coding Barrier (w/ Instructions Included)

3 Coding Projects to Break the Coding Barrier (w/ Instructions Included)

Learn Java Object-Oriented Programming (with actual code)

Learn Java Object-Oriented Programming (with actual code)

Эксперт по кибербезопасности о ваших паролях, вирусах и кибератаках

Эксперт по кибербезопасности о ваших паролях, вирусах и кибератаках

Разведчик о том, как использовать людей

Разведчик о том, как использовать людей

Путин на скамье подсудимых / Соловьёв захватывает страны Балтии

Путин на скамье подсудимых / Соловьёв захватывает страны Балтии

ООП На Простых Примерах | Объектно-Ориентированное Программирование

ООП На Простых Примерах | Объектно-Ориентированное Программирование

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]