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

Demonstrating the use of an Interface for this #1

Open
wants to merge 1 commit into
base: JOINDIN-475
Choose a base branch
from

Conversation

choult
Copy link

@choult choult commented Nov 21, 2014

Check it out @akrabat!

Encapsulating like this allows us to:

  • Cut down on method parameters
  • Extend in the future without changing the method signature
  • Ensure we're not passing Request to the SpamCheck service as a concept

(I hasten to add I've not tested this; it's more of a demonstration. Feel free to ignore, @adear11 )

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.

1 participant