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

Move public functions #213

Closed
wants to merge 11 commits into from
Closed

Move public functions #213

wants to merge 11 commits into from

Conversation

TheKitoInc
Copy link

move from functions files to Utils abstract class and point old functions file for backward compatibility

@burzum
Copy link
Contributor

burzum commented Jun 24, 2020

I like the idea but Utils and static isn't good. Make it DispatcherFactory and also add an interface, so we can create our own factories. This would be perfect for DI then.

@Zvax
Copy link

Zvax commented Sep 10, 2020

Yeah I don't understand the move to static functions, that does not seem to be an improvement, why do that?

It also changes the API for anyone already using simpleDispatcher and cachedDispatcher as functions. Why force everyone to go and change that call?

@lcobucci
Copy link
Collaborator

I honestly see no benefit in doing this.
Functions are good enough for façades (which is the case here).

Closing as won't fix.

@lcobucci lcobucci closed this Nov 12, 2020
@lcobucci lcobucci self-assigned this Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants