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 names inconsistent #1731

Open
shriram opened this issue Mar 27, 2024 · 0 comments
Open

function names inconsistent #1731

shriram opened this issue Mar 27, 2024 · 0 comments
Assignees

Comments

@shriram
Copy link
Member

shriram commented Mar 27, 2024

Because numeric functions are num-, we have num-to-string.
But string names are string-, so we have string-to-number.

So if you look up the latter and write string-to-number, do whatever processing, and then want to invert it and type number-to-string, you get an error! This must be really frustrating, because now you have to go look up documentation and lose your concentration. (I rediscover this the painful way, then remember the num- rule, but if it's your first encounter you have no reason to believe the sensible name wouldn't work.)

Therefore, we should add number-to-string, and likewise look for other local consistencies that become global inconsistencies.

@shriram shriram assigned shriram and unassigned shriram Mar 27, 2024
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

2 participants