Skip to content

Otavie/object-oriented-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Object Oriented JavaScript

This GitHub repository contains a series of lessons on Object-Oriented JavaScript programming. Each branch in this repository represents a different lesson, covering various concepts and techniques related to object-oriented programming (OOP) in JavaScript.

Introduction

JavaScript is a versatile programming language widely used for both client-side and server-side development. Object-oriented programming is a paradigm that enables developers to organize code into reusable objects with properties and methods.

In this series of lessons, we explore the fundamentals of object-oriented programming in JavaScript, including:

  • Creating objects and classes
  • Defining properties and methods
  • Inheritance and prototype chains
  • Encapsulation and information hiding
  • Polymorphism and method overriding

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/Otavie/object-oriented-javascript.git
  2. Navigate to the directory of the lesson you're interested in:

    cd object-oriented-javascript
  3. Checkout the branch corresponding to the desired lesson:

    git checkout lesson-<number>
  4. Review the code and documentation provided in the lesson branch.

Lessons Overview

Here's an overview of the lessons available in this repository:

  • lesson-1: Introduction to Objects and Classes

    • Basic concepts of creating objects and defining classes.
  • lesson-2: Properties and Methods

    • Understanding how to define properties and methods within objects and classes.
  • lesson-3: Inheritance

    • Exploring inheritance and prototype chains for code reuse and organization.
  • lesson-4: Encapsulation

    • Learning about encapsulation and information hiding for better code maintainability.
  • lesson-5: Polymorphism

    • Understanding polymorphism and method overriding to enhance code flexibility.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published