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

Proposition: Change record function names to dataStructure_member #4

Open
jchnkl opened this issue Apr 18, 2014 · 0 comments
Open

Proposition: Change record function names to dataStructure_member #4

jchnkl opened this issue Apr 18, 2014 · 0 comments

Comments

@jchnkl
Copy link
Contributor

jchnkl commented Apr 18, 2014

I'd like to propose to rename the record functions with the data structure name first.
E.g.: root_x_MotionNotifyEvent to motionNotifyEvent_root_x.
This has two advantages:
First, it reflects the namespace -> member mapping better.
Second, if you use a code completion engine, starting to type motionNo.. will automatically show you a list of all members of the data structure.

Since XHB is still in an early stage, I think it would not be to worse to change the API.

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

No branches or pull requests

1 participant