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

sec 5.6 - Inheritance - add a forward reference to roles #79

Open
hbaragar opened this issue Nov 2, 2012 · 0 comments
Open

sec 5.6 - Inheritance - add a forward reference to roles #79

hbaragar opened this issue Nov 2, 2012 · 0 comments
Labels

Comments

@hbaragar
Copy link

hbaragar commented Nov 2, 2012

The first sentence of section 5.6 is:

Object Oriented Programming provides the concept of inheritance as one of the mech-
anisms to allow for code reuse.

which is fine, but my understanding is that roles are the preferred mechanism for code re-use in perl6. As such, I think that roles should be mentioned in this paragraph (with a forward reference to the Roles chapter). Furthermore, there should be a discussion (possibly in a side bar) of the differences between inheritance and roles, and when to use each.

@trosel trosel added the content label Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants