The Builder Pattern in Python: Finally Explained!
Автор: ArjanCodes
Загружено: 2025-07-25
Просмотров: 52326
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
In this video, I show you the Builder Pattern in Python. It’s a practical and underrated design pattern you’re probably already using without realizing it. We’ll explore how it helps you build complex objects step by step with a clean, fluent API, avoiding massive constructors and fragile nested dictionaries. You’ll see a hands-on example of generating an HTML UI and learn when (and when not) to use this pattern.
🔥 GitHub Repository: https://git.arjan.codes/2025/builder.
🎓 ArjanCodes Courses: https://www.arjancodes.com/courses.
💬 Join my Discord server: https://discord.arjan.codes
🔖 Chapters:
0:00 Intro
0:49 Step 1 — The Product
2:45 What is the Builder Pattern?
5:05 Step 2 — The Builder
8:16 Quick Side Note: Why not just use a big constructor?
9:02 Step 3 — Extend builder
11:11 Bonus — Local Viewer (Infrastructure)
12:10 When Should You Use the Builder Pattern?
13:55 Final Thoughts
#arjancodes #softwaredesign #python
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: