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

Change the structure of the algorithms #18

Open
jara001 opened this issue Dec 13, 2021 · 1 comment
Open

Change the structure of the algorithms #18

jara001 opened this issue Dec 13, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@jara001
Copy link
Owner

jara001 commented Dec 13, 2021

Currently, we import the algorithms directly, having a set of required functions. This could be done in much nicer way using Classes, especially ABC.

https://www.godaddy.com/engineering/2018/12/20/python-metaclasses/

@jara001 jara001 added the enhancement New feature or request label Dec 13, 2021
@jara001 jara001 added this to the 2.x milestone Dec 13, 2021
@jara001
Copy link
Owner Author

jara001 commented Dec 13, 2021

In addition, the objects (classes) could be executable using fake 'callable' attribute: https://www.geeksforgeeks.org/callable-in-python/

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

No branches or pull requests

1 participant