collectiveidea / interactor

Interactor provides a common interface for performing complex user interactions.
MIT License
3.36k stars 212 forks source link

Better way to highlight organizers #96

Closed adis-io closed 9 years ago

adis-io commented 9 years ago

I have following interactors. From first sight it's difficult to say which of them is organizer. And I wondered how it can be solved. May be with naming classes or something else. Who else stuck with such a problem?

image

michaelherold commented 9 years ago

I don't name my organizers any differently than my interactors. The user doesn't really need to know it's an organizer since they have the same interface.

I've actually taken a name that was previously used for an interactors and switched it into an organizer because of some added business logic requirements. The fact that the name didn't change means that I don't have to touch any place where the interactor/organizer is used.

adis-io commented 9 years ago

Yeah, I got you. Thanks for explanation.