The Pain of OOP, Lecture #8: Inheritance [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
5:13 Polymorphism. Liskov Substitution Principle
7:06 SOLID (the “L“ part)
13:31 Subtyping
20:04 Parametric Polymorphism (Generics)
25:20 Ad Hoc Polymorphism (Method Overloading)
36:02 Implementation Inheritance
39:06 Code reuse
52:31 Composition over inheritance
57:08 Multiple inheritance
59:17 Multiple super types
1:01:22 Quiz
1:20:50 Final word
40 views
1185
362
3 weeks ago 00:02:37 1
[Cloudy Hits] Jessica Baio - he loves me, he loves me not (Lyrics)
4 weeks ago 00:25:12 7
[emkfit] WICKED HIIT DANCE WORK OUT- LETS DEFY GRAVITY
4 weeks ago 01:25:08 1
Eckhart Tolle - The Art of Presence - CD04 - Dissolving the Pain Body
4 weeks ago 00:16:05 3
[Pamela Reif] 15 MIN SIXPACK WORKOUT - Medium, with Beginner Alternatives / for lower, upper & side abs
4 weeks ago 01:25:10 1
Eckhart Tolle Art Of Dissolving the Pain Body
4 weeks ago 00:00:37 1
On Mother’s Day, the Russian Ministry of Defense published footage of the work of specialists from the medical service of the co
4 weeks ago 00:03:48 2
[CNBC Television] President Joe Biden: Ending U.S. military involvement in Afghanistan was the right decision
4 weeks ago 00:02:25 7
[The Dor Brothers] The Drill
4 weeks ago 00:29:28 1
Игра ► Габенушка 2 ► Gween of Pain
4 weeks ago 00:48:02 26
Max Payne 2:The Fall of Max Payne / Макс Пейн 2: Падение Макса Пэйна / Прохождение №3
4 weeks ago 00:01:57 2
[CNBC Television] Oxford-AstraZeneca vaccine shows positive immune response in early study
4 weeks ago 01:32:43 2
[mentaldisorders] still feel ur pain // shoegaze dreampop
4 weeks ago 00:03:18 5
HIRAES - Dormant (Official Video)
4 weeks ago 02:00:26 18
Juan Paradise Mix Trance and Electronic 281
4 weeks ago 00:01:58 4
️AFU POW: ´Commanders were ordered to deploy us on front line as soon as possible’
4 weeks ago 00:04:10 289
Sade - Young Lion (Music Video)
4 weeks ago 01:12:55 1
’’The Last Romantic’’ (1978) André Morell, Michael Jayston, Caroline Blakiston, Ronald Hines
4 weeks ago 00:03:31 1
Simone Simons - Cradle to the Grave ft. Alissa White-Gluz (Official Music Video)
4 weeks ago 00:46:21 17
[SmallAnt] I beat Kaizo Mario Odyssey. It was Painful.
4 weeks ago 00:04:09 205
Sade - Young Lion (Official Music Video)
4 weeks ago 00:01:14 27
Alonso: ‘We have to accept there is going to be some pain in the last three races’ #F1 #LasVegasGP
4 weeks ago 00:00:40 968
«НЕОБАРОККО» — новый концерт композитора Кирилла Мишина
4 weeks ago 00:04:10 970
Sade - Young Lion (Official Video - )
4 weeks ago 00:01:39 82
[CNBC Television] House to vote on Covid relief bill Friday, including $15 federal minimum wage