File tree Expand file tree Collapse file tree
02.solution.private-fields-and-defaults
02.interfaces-and-classes
01.solution.implementing-interfaces
02.solution.programming-to-abstractions
03.inheritance-and-polymorphism
02.solution.method-overriding
03.solution.substitutability
04.composition-vs-inheritance
02.solution.dependency-injection Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Class Basics
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/1-classes/class-basics" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/1-classes/class-basics/solution " />
44
55👨💼 Excellent! You've created classes that encapsulate data and behavior.
66
Original file line number Diff line number Diff line change 11# Private Fields and Defaults
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/1-classes/private-fields-and-defaults" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/1-classes/private-fields-and-defaults/solution " />
44
55👨💼 Great work using private fields and default values!
66
Original file line number Diff line number Diff line change 11# Implementing Interfaces
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/2-interfaces-and-classes/implementing-interfaces" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/2-interfaces-and-classes/implementing-interfaces/solution " />
44
55👨💼 Perfect! Both ` CreditCard ` and ` PayPal ` implement the same interface, ensuring
66they can be used interchangeably.
Original file line number Diff line number Diff line change 11# Programming to Abstractions
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/2-interfaces-and-classes/programming-to-abstractions" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/2-interfaces-and-classes/programming-to-abstractions/solution " />
44
55👨💼 Excellent! You're now programming to abstractions.
66
Original file line number Diff line number Diff line change 11# Extends
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/3-inheritance-and-polymorphism/extends" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/3-inheritance-and-polymorphism/extends/solution " />
44
55👨💼 Perfect! Both ` Circle ` and ` Rectangle ` inherit the ` color ` field from ` Shape ` .
66
Original file line number Diff line number Diff line change 11# Method Overriding
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/3-inheritance-and-polymorphism/method-overriding" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/3-inheritance-and-polymorphism/method-overriding/solution " />
44
55👨💼 Excellent! Each shape now provides its own ` getArea() ` implementation.
66
Original file line number Diff line number Diff line change 11# Substitutability
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/3-inheritance-and-polymorphism/substitutability" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/3-inheritance-and-polymorphism/substitutability/solution " />
44
55👨💼 Perfect! You've demonstrated polymorphism in action.
66
Original file line number Diff line number Diff line change 11# When to Use Composition vs Inheritance
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/4-composition-vs-inheritance/when-to-use" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/4-composition-vs-inheritance/when-to-use/solution " />
44
55👨💼 Perfect! You've demonstrated both patterns correctly.
66
Original file line number Diff line number Diff line change 11# Dependency Injection
22
3- <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/4-composition-vs-inheritance/dependency-injection" />
3+ <EpicVideo url = " https://www.epicweb.dev/workshops/object-oriented-typescript/4-composition-vs-inheritance/dependency-injection/solution " />
44
55👨💼 Perfect! You've demonstrated dependency injection in action.
66
You can’t perform that action at this time.
0 commit comments