Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional information about classes #225

Open
deyantomov opened this issue Aug 7, 2024 · 2 comments
Open

Add additional information about classes #225

deyantomov opened this issue Aug 7, 2024 · 2 comments
Assignees

Comments

@deyantomov
Copy link
Contributor

I want to add the following topics to the section about classes:

1. Getters and setters
2. Class composition ("has-a" relationship, instead of the "is-a" relationship that inheritance creates)
3. Method overriding
@sumn2u
Copy link
Owner

sumn2u commented Aug 7, 2024

I want to add the following topics to the section about classes:

1. Getters and setters
2. Class composition ("has-a" relationship, instead of the "is-a" relationship that inheritance creates)
3. Method overriding

@deyantomov Some examples of Getters and Setters are introduced in following topics.

@deyantomov
Copy link
Contributor Author

I want to add the following topics to the section about classes:

1. Getters and setters
2. Class composition ("has-a" relationship, instead of the "is-a" relationship that inheritance creates)
3. Method overriding

@deyantomov Some examples of Getters and Setters are introduced in following topics.

* [Understanding Getters and Setters in JavaScript](https://github.com/sumn2u/learn-javascript/blob/main/en/functions/getters-setters.md)

* [Getters and Setters](https://github.com/sumn2u/learn-javascript/blob/main/en/miscellaneous/Added%20getters%20and%20setters.md)

I see, I must've been looking for the topics in the wrong place. I'll go through my notes and get started on composition then. I'm not 100% certain about method overriding, as the topic is not that broad, but I'll see what I can come up with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants