Skip to content

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

Description

@hbaragar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions