-
Notifications
You must be signed in to change notification settings - Fork 9
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
Consistent naming #349
Comments
Not inconsistent actually! The PascalCase methods are public-facing, and the snake_case methods are not. The example you pasted uses non-public-facing methods because the public ones didn't exist at the time. |
So how to rewrite a piece above with public API and consistent naming? This particular code: https://github.com/JeffersonLab/JANA4ML4FPGA/blob/main/src/executables/jana4ml4fpga/CDAQTopology.h |
What about this one? void acquire_services(JServiceLocator *) override; Is it public-facing enough to be in every user written service? |
Ok =) Found this in the source:
Thanks! |
|
Proposal: make JANA2 API naming consistent.
I believe, as of now, the most inconsistent part is member functions naming. All major API classes have PascalCase members, but some groups of classes have every function in snake_case (e.g. Topology or Engine folders).
Whatever JANA2 is going to end with: PascalCase or snake_case doesn't matter compared to how it looks now:
The text was updated successfully, but these errors were encountered: