TypeScript: Object-Oriented Programming
1h 3mIntermediate2020-07-29
Authors

Dylan Israel
Engineer, Mentor, and Educator
Course details
TypeScript boasts features that go beyond (and sometimes challenge) JavaScript approaches. But this superset of JavaScript really shines in the area of object-oriented programming (OOP). If you're familiar with JavaScript and want to incorporate OOP principles into your workflow using TypeScript, then this course is for you. Join instructor Dylan Israel as he details how and why TypeScript uses object-oriented programming models. Dylan covers a range of topics, including inheritance, polymorphism, generics, and encapsulation. Along the way, he shares challenges that allow you to put your understanding of these new concepts to the test.
Skills covered
TypeScriptJavaScriptOracleProgramming LanguagesOpen SourceSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - What's the OOP in TypeScript all about
1. Classes in TypeScript
- 02 - Classes vs. objects
- 03 - Prototypes vs. classes
- 04 - Constructor and class properties
- 05 - Methods with TypeScript
- 06 - Using Get
- 07 - Using Set
- 08 - Challenge - Classes
- 09 - Solution - Classes
2. Inheritance in TypeScript
- 10 - Inheritance introduction
- 11 - Extending classes in TypeScript
- 12 - Implementing classes in TypeScript
- 13 - Super()
- 14 - Super() overrides
- 15 - Generics
- 16 - Polymorphism
- 17 - Challenge - Inheritance
- 18 - Solution - Inheritance
3. Access Modifiers in TypeScript
- 19 - What is encapsulation
- 20 - Public vs. private
- 21 - Protected
- 22 - Static
- 23 - Readonly
- 24 - Challenge - Encapsulation
- 25 - Solution - Encapsulation
Conclusion
- 26 - Converting legacy classes to TypeScript
- 27 - What's next
- 28 - TypeScript settings