Watch / Choosing composition over inheritance wherever possible: is that right?

Choosing composition over inheritance wherever possible: is that right?

  • YouTube
  • IPFS
  • Details

Choosing composition over inheritance wherever possible: is that right?

Duration: 00:07:02

Speaker: Alice Henshaw

Type: Breakout

Expertise: Intermediate

Event: Devcon 5

Date: Oct 2019

Composition over inheritance is a staple in object oriented programming since the early 1990s. Developing with Solidity on the EVM has forced me to re-examine several programming paradigms. With Ethereum, there are other considerations given that smart contracts are typically immutable and gas costs become a more important factor. I wanted to take some time talking about this design pattern and sharing some examples with the community.
  • Related