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

Make Differs and Patchers package public #127

Open
Benestar opened this issue Mar 16, 2016 · 8 comments
Open

Make Differs and Patchers package public #127

Benestar opened this issue Mar 16, 2016 · 8 comments

Comments

@Benestar
Copy link
Contributor

To be able to use those components outside of this package for other entity differs they must be package public. I wonder what would be a nice namespace name...

@thiemowmde
Copy link
Contributor

Please collect a list of the specific classes that should become public. Do we really need all of them? Is there an other way?

@Benestar
Copy link
Contributor Author

We could also create interfaces and offer a factory but that seems to be an unnecessary overhead.

The classes needed for a MediaInfoDiffer and MediaInfoPatcher are (afaik) StatementListDiffer, StatementListPatcher and when merged TermListPatcher.

@JeroenDeDauw
Copy link
Contributor

I wonder what would be a nice namespace name...

Something wrong with the one they are currently in? It already has differs, patchers and diffs in it.

@Benestar
Copy link
Contributor Author

I rather referred to \Internal which suggests that the classes are package private.

@JeroenDeDauw
Copy link
Contributor

Yeah I get that. So if they are no longer package private, they go out of the Internal sub-NS, which leaves the in the Diff NS. Anything wrong with that NS? (That was my question)

@Benestar
Copy link
Contributor Author

Ah, sorry. Nothing wrong with that namespace besides it gets a bit crowded. But that's perhaps not a problem yet.

@Benestar
Copy link
Contributor Author

Btw, do we only want to move the classes listed above out of the Internal namespace or move everything out of it? It might not be obvious why TermListPatcher is public while AliasGroupListPatcher is private.

@JeroenDeDauw
Copy link
Contributor

To me it seems strange to just move some of them out of these, if they are all doing equivalent things.

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

No branches or pull requests

3 participants