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

Restructure OOP #17

Open
sjuergen opened this issue Jan 21, 2025 · 1 comment
Open

Restructure OOP #17

sjuergen opened this issue Jan 21, 2025 · 1 comment
Assignees

Comments

@sjuergen
Copy link
Contributor

sjuergen commented Jan 21, 2025

Fundamentals of Object-Oriented Programming

Objectives: Understand the basic concepts of OOP and its benefits.

Introduction to OOP

  • Definition and objectives of OOP
  • Key concepts: Classes, Objects, Methods, Attributes
  • Benefits of OOP: Reusability, Maintainability, Extensibility

Object-Oriented Principles

  • Encapsulation
  • Inheritance
  • Polymorphism
  • Abstraction

OOP in ST (IEC 61131-3)

Objectives: Learn to implement OOP concepts in Structured Text.

Classes and Instances

  • Definition and declaration of classes in ST
  • Creating and using instances

Attributes and Methods

  • Declaration of attributes
  • Implementation of methods

Visibility and Access Control

  • Public, Private, and Protected
  • Getters and Setters methods

Advanced OOP Concepts

Objectives: Deepen the understanding of OOP concepts and their application in ST.

Inheritance

  • Implementation of base and derived classes
  • Overriding methods

Polymorphism

  • Concepts and examples
  • Using interfaces and abstract classes
@sjuergen sjuergen self-assigned this Jan 21, 2025
@theBadT
Copy link
Contributor

theBadT commented Feb 7, 2025

also think about adding unit tests which act as a verification mechanism to evaluate the result of the exercise

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

No branches or pull requests

2 participants