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

Object Oriented Programming #8

Closed
Tracked by #1
yakutovicha opened this issue Jan 30, 2023 · 0 comments · Fixed by #19
Closed
Tracked by #1

Object Oriented Programming #8

yakutovicha opened this issue Jan 30, 2023 · 0 comments · Fixed by #19
Assignees

Comments

@yakutovicha
Copy link
Member

yakutovicha commented Jan 30, 2023

Basics

  • Creating a class: a blueprint for objects
  • Methods and attributes
  • Objects instantiation
  • Special methods and the Python Data Model (a tour or __dunder__ methods)
  • Duck-typing

Advanced

  • The @property function to define attributes (setters and getters)
  • About private attributes: comparison with OOP languages like C++/Java
  • Inheritance
  • Write better classes with dataclasses and attrs
@yakutovicha yakutovicha changed the title OOP (classes, methods, attributes, inheritance, duck-typing, "hidden variables", special methods, overloading, absence of incapsulation) Bbject Oriented Programming Feb 6, 2023
@yakutovicha yakutovicha changed the title Bbject Oriented Programming Object Oriented Programming Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants