Skip to content

Conversation

kraftwerk28
Copy link

No description provided.

Copy link
Member

@tshemsedinov tshemsedinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Classes Fruit and Apple are bad examples for inheritance, because they should be never have methods and must be simple records (struct) or anemic objects.

@tshemsedinov
Copy link
Member

You can implement something like UI control, file or socket, queue or cursor, logger or database connection

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 this pull request may close these issues.

2 participants