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

Use static typechecking with generics over runtime type checking in Slice interface #134

Open
YeungOnion opened this issue Nov 13, 2023 · 0 comments

Comments

@YeungOnion
Copy link

YeungOnion commented Nov 13, 2023

In the docs, I saw that Slice mentions how Go doesn't have generics and therefore relies on dynamic typechecking. Well now we have them!

Could potentially solve #115 by failing compilation - the earliest failure.

Would it be worth the squeeze to replace the dynamic typechecking with static via generics?

If it seems worth a short for a good first issue, I'd work on this.

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