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

Add support for default values for function parameters #430

Open
DanielKamkha opened this issue Jul 20, 2020 · 0 comments
Open

Add support for default values for function parameters #430

DanielKamkha opened this issue Jul 20, 2020 · 0 comments
Labels

Comments

@DanielKamkha
Copy link
Contributor

Modern programming languages (e.g. Kotlin, Swift, Dart) provide a functionality of specifying default values for function parameters. For languages that do not support this feature (Java, C++, current version of LimeIDL), it still can be emulated by re-declaring a method overload with a different signature.

The same feature on IDL level for Gluecodium is what many users already expect (being mislead by LimeIDL's Kotlin-like synax). It is technically feasible to implement in Gluecodium and it can reduce the unnecessary duplication the "emulation" approach creates for such methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant