Skip to content

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

@YeungOnion

Description

@YeungOnion

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions