The Pain of OOP, Lecture #7: Reflection and Type Casting [object oriented programming crash course]

A lecture for BSc students in Innopolis University. The slides are here: (in LaTeX and PDF) Buy my book about OOP: Blog: Books: GitHub: (don’t hesitate to follow in order to stay informed) Telegram channel with recent news and updates: (subscribe to not miss a thing) Twitter with daily and weekly updates: (follow me!) iTunes: SoundCloud: Yandex Music podcast by yegor256: 0:00 Introduction 1:40 What is Type Casting 8:10 Implicit Coupling 13:26 Pattern Matching in Java 16 14:49 C#, Rust, and pattern matching 24:56 Factory Method 34:30 Generating class name from a string 44:12 Classpath Scanning 50:27 Annotations 56:44 Locating methods 59:42 Dependency Injection Container 1:07:48 Dependency Injection without a Container 1:11:37 Polymorphism vs Casting
Back to Top