-
Notifications
You must be signed in to change notification settings - Fork 23
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
Use more julian conventions for function names and arguments #155
Comments
I agree that the latter is nicer. It will be very breaking on course. But perhaps if we are bundling it with the other breaking PRs that are open, and put some joint effort into really polishing up this package, it could be a good idea. We could make it LibGEOS.jl v1.0. |
Yes, totally breaking. It can be bumped with your other breaking PR. |
Having more keyword arguments sounds awesome! About |
The reason to switch is to unify the ecosystem. I would like it if I think that's more useful long term than mirroring the library names. LibGEOS will soon work directly on all GeoInterface.jl types, it's weird to keep the camel case. (So yes no longer just a ccall) Otherwise I will write a thin wrapper library that does this in a Julian way and close all my PRs here. It may make more sense to keep this lower level. (Maybe GEOS.jl?) |
I agree 100%. Much preferable to conform with julia ecosystem than with C. I was thinking that https://github.com/JuliaGeo/LibGEOS.jl/blob/master/src/libgeos_api.jl should stay the same. I am happy with more high-level functions using same names as other geometry package. |
Oh yes exactly! I didn't mean to change the libgeos_api.jl file at all. I should have been clearer. I meant just the camelCase used outside of that file. Like |
The method here generally have non-julian names and signatures, making them harder to find and use than is necessary. GeoInterface.jl uses lower case and snake case for methods, and LibGEOS probably should here too.
The widespread use of
args
rather thankwargs
also makes it harder to use. IndelaunayTriangluation
you would need to specifytol
if you want to passcontext
, instead of those arguments being independent.Any thoughts on updating everything to something like this?
The text was updated successfully, but these errors were encountered: