Популярное

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

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

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

Топ запросов

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

7 Design Patterns EVERY Developer Should Know

Автор: ForrestKnight

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

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

Описание:

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

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

Самые важные паттерны в программировании

Самые важные паттерны в программировании

8 Data Structures Every Programmer Should Know

8 Data Structures Every Programmer Should Know

Every Frontend Architecture Pattern Explained in 23 Minutes

Every Frontend Architecture Pattern Explained in 23 Minutes

8 Design Patterns | Prime Reacts

8 Design Patterns | Prime Reacts

Learn Java Object-Oriented Programming (with actual code)

Learn Java Object-Oriented Programming (with actual code)

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

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

Хватит всё жестко кодировать: используйте внедрение зависимостей

Хватит всё жестко кодировать: используйте внедрение зависимостей

Все типы API объяснены за 9 минут! Часть 1

Все типы API объяснены за 9 минут! Часть 1

I Tried Coding on Every OS // Here’s What I Learned

I Tried Coding on Every OS // Here’s What I Learned

3 Types of Algorithms Every Programmer Needs to Know

3 Types of Algorithms Every Programmer Needs to Know

Интервью по проектированию системы Google: Design Spotify (с бывшим менеджером по маркетингу Google)

Интервью по проектированию системы Google: Design Spotify (с бывшим менеджером по маркетингу Google)

Почему ваш код не соответствует Python (и как это исправить)

Почему ваш код не соответствует Python (и как это исправить)

15 концепций фронтенда, которые освоил каждый опытный разработчик

15 концепций фронтенда, которые освоил каждый опытный разработчик

Суперважная разработка для правительства | Зарплата 50к рублей (English subtitles) @Максим Кац

Суперважная разработка для правительства | Зарплата 50к рублей (English subtitles) @Максим Кац

How to Become a Great Software Developer — Best Advice from Top-Notch Engineers

How to Become a Great Software Developer — Best Advice from Top-Notch Engineers

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

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

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

Rust Changed How I Code Forever

Rust Changed How I Code Forever

API Authentication Explained (Finally) — Basic Auth, Bearer & JWT

API Authentication Explained (Finally) — Basic Auth, Bearer & JWT

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



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



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