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

Function naming is unnecessarily confusing #81

Open
joshuaehill opened this issue Oct 1, 2018 · 0 comments
Open

Function naming is unnecessarily confusing #81

joshuaehill opened this issue Oct 1, 2018 · 0 comments

Comments

@joshuaehill
Copy link
Contributor

There are instances in the source base where the same function name is used to denote different (unrelated) functions. In some cases, this is resolved by polymorphism (as the parameters are clearly different), and in others this is resolved through including different portions of the source base in compilation.

In both cases, this is bad practice. Polymorphism provides for a way of labeling the same "conceptual" operation in the same way across different uses, but this doesn't appear to be what is going on here. For the case where unrelated functions just happen to be named the same way, that's unnecessarily confusing.

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