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

Unideomatic naming convention #4

Closed
vitvakatu opened this issue Jan 5, 2018 · 2 comments
Closed

Unideomatic naming convention #4

vitvakatu opened this issue Jan 5, 2018 · 2 comments
Labels

Comments

@vitvakatu
Copy link

I'm a bit confused with all these Nk in front of every type. It serves absolutely no purpose because Rust has namespaces, and the common usage looks like:

use nuklear_rust as nk;
//....
nk::NkAllocator::new_vec();
@snuk182
Copy link
Owner

snuk182 commented Jan 9, 2018

Roger that.

@snuk182 snuk182 added the v0.4 label Jan 9, 2018
@snuk182
Copy link
Owner

snuk182 commented Jan 17, 2018

Won't fix the constants and enum variants, because they are mostly reexported from *-sys so I'd keep these names consistent through the whole lib.

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

No branches or pull requests

2 participants