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

Make IScope functions typed #169

Open
lesquoyb opened this issue May 13, 2024 · 0 comments
Open

Make IScope functions typed #169

lesquoyb opened this issue May 13, 2024 · 0 comments
Labels
🤗 Enhancement This is a request for enhancement

Comments

@lesquoyb
Copy link
Contributor

Is your request related to a problem? Please describe.
I'm creating this issue mostly to keep track of a discussion with @AlexisDrogoul as it seems like it should be possible to change the methods in IScope (and other core components) that manipulate objects of type Object to generic methods and thus benefit from proper typing.
This is not going to bring more functionalities, but it would make huge parts of the code safer and more readable, removing all the on-the-flight casting and afterward type checking, there's also a small chance that stricter typing could be beneficial in terms of execution time as it should be easier to optimize for the jvm.

@lesquoyb lesquoyb added the 🤗 Enhancement This is a request for enhancement label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤗 Enhancement This is a request for enhancement
Projects
None yet
Development

No branches or pull requests

1 participant