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

[feature] Object>>childResponsibility #30

Closed
ngarbezza opened this issue Jul 19, 2020 · 1 comment
Closed

[feature] Object>>childResponsibility #30

ngarbezza opened this issue Jul 19, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ngarbezza
Copy link
Owner

Is your feature request related to a problem? Please describe.
We want to give explicit support for abstract methods and have an error when this code is reached. We won't use subclass responsibility because we could use it on classes or objects in the same way.

Describe the solution you'd like
any object should understand childResponsibility which will raise an exception if it is called (preferably with an error message like "this object had the responsibility to implement #xxx").

@ngarbezza ngarbezza added the enhancement New feature or request label Jul 19, 2020
@ngarbezza ngarbezza self-assigned this Jul 19, 2020
@ngarbezza
Copy link
Owner Author

added in 48d8d8f

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