Understanding how to resolve complex inheritance scenarios is a must-have skill for any developer. In this video, I’ll guide you through tackling the diamond problem and other intricate inheritance challenges using C3 linearization. We’ll break down the concepts step-by-step, explore real-world examples, and analyze how inheritance issues manifest in Solidity.
🔗 Episode Resources:
Code Repo: https://github.com/jesperkristensen58/analyze-inheritance
📖 Chapters:
0:00 | Welcome
1:30 | C3 Linearization
3:08 | The Basics of Inheritance
5:14 | General Algorithm for Solving C3 Linearization
8:59 | Merge Operation
11:40 | Simple Problem
17:25 | The Diamond Problem
22:20 | What Happens In Solidity?
25:03 | A More Complex Example
31:02 | Invalid Inheritance
34:42 | Inheritance Error in Solidity
35:33 | Example From Repo
36:35 | Complex Example From Wikipedia
🤝 Stay Connected
Jesper's Twitter: https://twitter.com/cryptojesperk
Jesper's LinkedIn: https://www.linkedin.com/in/jespertoftkristensen/
Jesper’s LinkTree: https://linktr.ee/cryptojesperk
💬 Questions & Feedback
Found this content helpful? Don’t forget to like the video and subscribe for more deep dives into programming and blockchain development. Got questions or comments? Drop them below, and I’ll cover them in future videos!
Let’s unravel the complexities of inheritance together. 🚀