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

Refactored with classes and objects #23

Merged
merged 2 commits into from
Sep 24, 2022
Merged

Refactored with classes and objects #23

merged 2 commits into from
Sep 24, 2022

Conversation

alec-kr
Copy link
Owner

@alec-kr alec-kr commented Sep 24, 2022

This PR solves #21 by creating classes in each function file.

Example: driver_results.py now contains a class DriverResults, and an object will be created in f1pystats.py.

With this change, code should be easier to develop and debug.

@alec-kr alec-kr added the enhancement New feature or request label Sep 24, 2022
@alec-kr alec-kr self-assigned this Sep 24, 2022
@alec-kr alec-kr linked an issue Sep 24, 2022 that may be closed by this pull request
@alec-kr alec-kr merged commit cb77eea into main Sep 24, 2022
@alec-kr alec-kr deleted the add-classes branch October 3, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Object Oriented Programming concepts
1 participant