Популярное

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

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

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

Топ запросов

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

7 Design Patterns EVERY Developer Should Know

Автор: ForrestKnight

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

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

Описание:

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

8 Design Patterns | Prime Reacts

8 Design Patterns | Prime Reacts

Как освоить любой навык так быстро, что это покажется незаконным

Как освоить любой навык так быстро, что это покажется незаконным

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

The Exact Roadmap to Level Up as a Developer

The Exact Roadmap to Level Up as a Developer

10 Design Patterns Explained in 10 Minutes

10 Design Patterns Explained in 10 Minutes

Rust Changed How I Code Forever

Rust Changed How I Code Forever

The Future of Veritasium

The Future of Veritasium

Why Everyone's Switching to Rust (And Why You Shouldn't)

Why Everyone's Switching to Rust (And Why You Shouldn't)

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

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

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

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

5 признаков неопытности разработчика-самоучки (и как это исправить)

5 признаков неопытности разработчика-самоучки (и как это исправить)

Как принципиальные программисты превосходят конкурентов

Как принципиальные программисты превосходят конкурентов

The Strange Math That Predicts (Almost) Anything

The Strange Math That Predicts (Almost) Anything

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

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

AI Has Changed How We Build Software // What You Need to Know

AI Has Changed How We Build Software // What You Need to Know

System Design was HARD until I Learned these 30 Concepts

System Design was HARD until I Learned these 30 Concepts

Я плохо разбирался в структурах данных и алгоритмах. И вот что я сделал.

Я плохо разбирался в структурах данных и алгоритмах. И вот что я сделал.

5 шаблонов проектирования, которые ДЕЙСТВИТЕЛЬНО используются разработчиками

5 шаблонов проектирования, которые ДЕЙСТВИТЕЛЬНО используются разработчиками

3 Types of Algorithms Every Programmer Needs to Know

3 Types of Algorithms Every Programmer Needs to Know

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



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



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