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

Composition over inheritance in Snake Lab #43

Open
dixine55 opened this issue Nov 23, 2023 · 1 comment
Open

Composition over inheritance in Snake Lab #43

dixine55 opened this issue Nov 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dixine55
Copy link

It might be better if we instead used composition for the BlockWindow instance in order to just provide the API and not the rest of the BlockWindow code during the SnakeLab.

This would also follow the "Composition over inheritance"-mentality and make it a bit more straightforward for the people working with the code.

@bjornregnell
Copy link
Member

Good idea!

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

2 participants