/liskov-substitution-principle

Holds the source code for the presentation about the Liskov substitution principle

Primary LanguageTypeScript

Liskov Substituition Principle

This repo holds the source code for my presentation about the Liskov substitution principle, one of the SOLID principles. It was created with the help of the amazing Motion Canvas library ❤️ As well as lessons that I learned thanks to Venkat Subramaniam 🥳

TODO

  • create a palettes file that will hold constants for your colors in hex values, so that other classes can easily import them
  • rename the example.tsx file
  • insert a picture of Barbara Liskov
  • code in the animations of how a stack and vector works
    • don't forget to mention the practical uses of the stack and vector data structures
  • show the consequences of using the instanceOf operator in order to get around violating the LSP
  • show how we can use composition/delegation

Credits