Two UNDERRATED Design Patterns 💡 Write BETTER PYTHON CODE Part 6

preview_player
Показать описание

In this video, I talk about two underrated design patterns in Python: the template method pattern and the bridge design pattern. They're both really useful and when used in combination, they complement each other really well.

🔖 Chapters:
0:00 Intro
0:33 Analysis of the example
3:20 Template method explanation
5:03 Implementing the template method
9:09 Bridge pattern explanation
10:56 Implementing the bridge pattern
15:59 Final thoughts

#python #programming #designpatterns
Рекомендации по теме
Комментарии
Автор

Arjan, thank you so much! You are filling a void in programming tutorials. So many tutorials are way too basic, way too advanced, or way too light on details. And almost none of them go into the how or the why of design and architecture. There's a lot that you learn from just doing it, but you are hitting a sweet spot of advanced concepts without making me feel like a newbie. Your material is beyond beginner level and pre-expert, which is a difficult thing to accomplish, but you do it well. Thank you and keep it up!

aneidlin
Автор

Thank's for the videos Arjan. I've been programming with python for about a year with no formal training, and hearing about these methods and seeing examples have been very beneficial.

absoluum
Автор

I'm wondering: did any of you use one of these two patterns in your code recently? Let me know!

ArjanCodes
Автор

One of the most underrated youtube channels out there. Great informative videos! I am a senior engineer and it is always nice to expand my knowledge, even if I have forgotten a lot of these.

doublegdog
Автор

I am an industrial engineer from Colombia, I study programming in a self-taught way and I am enormously grateful for the content you upload...

diegol_
Автор

Very cool, thank you! I would love to see more design patterns explained by you

ke_
Автор

First time commenter. Your tutorials are outstanding and clear. You are helping me in a different way. I find I implement a lot of these patterns by attempting to be as SOLID as possible. But you're highlighting what those patterns are and their names. I'm going to recommend the people I manage to watch your videos.

UgoAno
Автор

Wow! Arjan, thank you very much! I've started rewriting my code using your advices already after second video in your channel. This channel is a gem! Exactly what I have been missing for years!

PavloOrynchak
Автор

You run the best python channel that I know of. Many thanks for this education!

PillesPlace
Автор

Hi! I came across one of your videos and couldn't stop watching for 3 hours! You provide such an interesting information! Thanks a lot for your effort. You earned a new subscriber!

ulrickpspgo
Автор

This video was pure gold. Thanks for explaining two complicated patterns for me with such a good example,

sergioquijanorey
Автор

This channel is PURE GOLD! I think this two patterns will help me in my current project. I'll try to implement it in my code right now!
Needless to say that I've subscribed and liked lol

viniciusmeireles
Автор

I just discovered your channel and I'm without words to express my love for your work. Thank you very much

davia.sampaio
Автор

I've come to consider you one of my primary instructors. Thanks for your presentations.

ryanperkins
Автор

Thanks again Arjan! I really liked the "Head first design patterns" book (which I bought some time ago in a HumbeBundle sale). But I've not yet actually worked through all the examples, because while it is explained excellently, the examples are somewhat more involved than yours (and they are in Java...).
Your examples on the other hand are reduced to the minimum which I like very much - it is a joy to just go along with them and try them out while following the video.

matsim
Автор

I like the clarity that you have when you explain the design pattern. Most of the other people who understand them don't actually explain it well.
Thank you

JackReacher
Автор

Really good explanation about the importance of design pattern. I can’t agree you anymore.

watashiwan
Автор

You’re a great teacher! Thanks for all these videos.

tu
Автор

Hello from Russia! Thanks a lot for your lessons! Very practical material! Your chanel is great!

ДмитрийДобровлянский
Автор

Thank you Arjan! I've been programming for a while, now, but I'm self-taught and never heard about design patterns until very recently, with this series. Can't really see the difference between the Template and Strategy design patterns. They both use abstract classes depicting a backbone of abstract methods that are later defined in the actual class implemeting the non-abstract method. I'd love to see a video disambiguating these two, if you think it's appropriate. Cheers a keep up this great work!! <3

lioneluran