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

Reduce the need to provide output type to functions #75

Open
EpsilonPrime opened this issue Jun 21, 2023 · 0 comments
Open

Reduce the need to provide output type to functions #75

EpsilonPrime opened this issue Jun 21, 2023 · 0 comments

Comments

@EpsilonPrime
Copy link
Member

Always providing an output type to functions is cumbersome and reduces readability. Investigate using stronger function definitions (such as equal always returning bool if the inputs are non-null) and intelligent defaults (such as add of two like types always returning the same type if not overridden). Override will still be possible and if they are needed they could raise a warning during parsing.

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