Back to Browse

Rules Have Reasons (Always Ask Why)

16.7K views
Jul 17, 2024
11:48

What are the reasons that underlie the rules? Why should we use one technique over another? What class of problems are we solving? 📙 BUY MY BOOK https://theobjectorientedway.com RELATED VIDEOS: https://youtu.be/YaSMkzmc_sA https://youtu.be/C3B5IIlt4-0 https://youtu.be/7hXi0N1oWFU https://youtu.be/3dya1VI_zp8 https://youtu.be/FdFBYUQCuHQ https://youtu.be/SeN1s65tRHY CONTENTS 00:00 The problem 02:39 Static typing 04:12 Overloading 04:45 Subtype Polymorphism 06:13 My Book 06:27 Inheritance 08:28 Replace Conditional With Polymorphism 09:36 Type Testing is a Code Smell 10:30 Dependency injection 11:02 Depend on abstractions, not on concretions 11:12 Composition over inheritance 11:20 Conclusion SOURCES: https://sandimetz.com/99bottles https://youtu.be/IcgmSRJHu_8 http://blog.cleancoder.com/uncle-bob/2014/06/20/MyLawn.html https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction https://sandimetz.com/blog/2016/6/9/make-everything-the-same

Download

1 formats

Video Formats

360pmp453.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Rules Have Reasons (Always Ask Why) | NatokHD