Build classes that encapsulate data and behavior, use prototypal inheritance to keep code DRY, and create private state with closures and IIFEs in JavaScript.
Overview
Syllabus
- Objects in Depth
- Objects in JavaScript encapsulate both data and functionality. You'll create, access, and modify objects to build a solid foundation for object-oriented programming.
- Functions at Runtime
- Functions are one of most important data structures. Learn what a "first-class function" is, learn about scope, dig into closures, and use immediately-invoked function expressions for private state.
- Classes and Objects
- Creating objects individually isn't sustainable. Learn how to create similar objects with ease using Classes. You'll also learn how object inheritance works through Prototypal Inheritance.
- Object-Oriented Design Patterns
- Discover object-oriented design patterns that can be used to create an object -- all without involving its prototype. What's more: you'll also learn how to implement private properties in objects.
Taught by
Richard Kalehoff