Loose Coupling & Dependency Injection the EASY Way!

Loose Coupling & Dependency Injection the EASY Way!

Hynek Schlawack

55 лет назад

4,399 Просмотров

This is a pragmatic approach to loose coupling and dependency injection with a focus how at they core they’re SIMPLE concepts that improve YOUR life! And: have you heard of dependency LOCATION at all?! We‘ll use simple #Python to demonstrate all that!

► Learn more about my service location package: https://svcs.hynek.me/


🤓 ME ELSEWHERE

🏡: https://hynek.me/
🐘: https://mastodon.social/@hynek/
🦋: https://bsky.app/profile/hynek.me
🅇: https://twitter.com/hynek
🧵: https://www.threads.net/@the_hynek
✉️ Newsletter: https://buttondown.email/hynek
❤️ Support my work: https://hynek.me/say-thanks/
🌍 My employer: https://www.variomedia.de/

🙏 CREDITS

Music: @RPLKTR / https://rplktr.com/
svcs Logo: Lynn Root https://www.roguelynn.com/
“International speaker” photo: Peter Sobot https://petersobot.com/
Hollywood photo: https://unsplash.com/photos/brown-and-white-hollywood-sign-ErMkvcFla74
Quoted Brandon Rhodes video: https://www.youtube.com/watch?v=rrMnmLyYjU8


📖 Chapters

00:00 Loose coupling
00:09 Tightly coupled systems
01:26 Mocks
01:42 Dependency Inversion Principle
02:20 Why should you listen to this fool?
02:46 Dependency Injection
03:06 Why the fear and loathing around DI!?
04:53 Structural subtyping
05:19 Dependency Inversion Principle (DIP)
06:40 Why service LOCATION?
07:40 The holy trinity of computing
08:29 Dependency injection is RELATIVE
09:12 Inversion of Control (IoC)
12:14: Final plea: tools != concepts
12:42 Epilogue ❤️

Тэги:

#dependency_injection #software_engineering #service_location #solid #python #dependency_inversion_principle #loose_coupling #software_development #dependency_location
Ссылки и html тэги не поддерживаются


Комментарии: