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

Improve function signatures #5

Open
andgdk opened this issue Jan 1, 2025 · 0 comments
Open

Improve function signatures #5

andgdk opened this issue Jan 1, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@andgdk
Copy link
Owner

andgdk commented Jan 1, 2025

Description

IDEs appear to be unable to infer the input parameters of functions if they are defined elsewhere.
This limits the design freedom and inhibits exposing optional parameters to keep calling functions reasonably safe.

Investigate how signatures of functions can be improved.

Proposed solution

Research if there is a concept of object destructuring in Scilab.
Review and enhance the function signatures to improve clarity and usability. The current designe of leveraging code-split into .sci files might be ill conceived.

Alternatives considered

Go back to single files or research if IDEs/language services can already handle the use case of providing signatures for imported custom libraries/.sci files or how support can be added.

@andgdk andgdk added the enhancement New feature or request label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant