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

Inconsistent function names for getting global pointers. #1590

Open
janEntikan opened this issue Jan 9, 2024 · 0 comments
Open

Inconsistent function names for getting global pointers. #1590

janEntikan opened this issue Jan 9, 2024 · 0 comments
Labels
cleanup Codebase cleanup related tasks

Comments

@janEntikan
Copy link
Contributor

ButtonRegistry, Notify and TypeRegistry use ptr() as function name and ClockObject has get_global_clock. Most classes that use a global pointer tend to go with the get_global_pointer function name, which is arguably not a very good name either but it's what I'm used to by now.

As a side note, ptr() is a nim builtin, making parsing that one more peculiar.

@rdb rdb added cleanup Codebase cleanup related tasks and removed enhancement labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Codebase cleanup related tasks
Projects
None yet
Development

No branches or pull requests

2 participants