Skip to content

Demonstrating the use of an Interface for this#1

Open
choult wants to merge 1 commit intoadear11:JOINDIN-475from
choult:JOINDIN-475
Open

Demonstrating the use of an Interface for this#1
choult wants to merge 1 commit intoadear11:JOINDIN-475from
choult:JOINDIN-475

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