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

Implement object method mutation based on Null Object Pattern #12

Closed
oscarlvp opened this issue Apr 25, 2017 · 1 comment
Closed

Implement object method mutation based on Null Object Pattern #12

oscarlvp opened this issue Apr 25, 2017 · 1 comment

Comments

@oscarlvp
Copy link
Member

The only mutation performed to object returning methods is to replace all code by a return null statement. It would be good to have other alternatives. The Null Object Pattern could be useful for this.

@oscarlvp
Copy link
Member Author

This is equivalent as mutating several methods at the same time. (Higher order extreme mutation?)
For the moment we don't go in this direction.

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

No branches or pull requests

1 participant