-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Unify camel case and snake case in function names #144
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
@mgautierfr @veloman-yunkan @maneeshpm What is the status here? Do we at least know how it should be? How much work would be needed to fix the problem? |
@Kelson We recently took a step to change the libzim SearchIterator API to use camel case. IMO most of the API code if not all of it in libzim is in camel case, so we should try to do the same here. I guess this is the right time to get decided on this one so that we can at least fix the libkiwix API with this scheme before the next major release. |
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
@mgautierfr I guess this last ticket is for you. At the same time, might be a good idea to just go through the whole API and see if it looks coherent. |
Does this ticket apply only to the public API of libkiwix? If so then only |
@veloman-yunkan This is a good news! We should get rid of it... and make necessary adaptation in kiwix-tools and kiwix-desktop. |
It is mandatorry for the public API yes. For the private part, we can fix it now and fix it incrementally as we change other stuff.
It is probably better to mark it as deprecated (#654), we will remove it in a future release. |
@mgautierfr What is the advantage to keep it now, if we remove it within a month? |
We don't break all existing code using it (Android wrapper is still based on kiwix structures). And I've not said it will be removed within a month, I've said it will be removed in the future :) |
Android is broken anyway, we can not release the JNI binding anymore since a year. I see no reason to wait if we can quickly adapt kiwix-tools and kiwix-desktop. |
I see no special reason to remove it now. Marking it as deprecated is almost straight forward. We can of course remove it now. But it would be yet another thing to do and check before doing the release. I would prefere reduce as far as possible the work to do before doing the release and handle not mandatory things after. |
Agree if making this deprecated is trivial. Quite sure, android nightlies are not done with cutting edge libkiwix. |
So I'm closing the issue in favor of #654, we will "simply" mark |
We should unify camel case and snake case in function names. For example, currently in
Searcher
, there are functionsadd_reader
andgetNextResult
. We should make a decision on which style to use.The text was updated successfully, but these errors were encountered: