The #golang proposal to introduce generic functions and types (via parametric polymorphism) has been evolving nicely. This
https://abs.twimg.com/emoji/v2/... draggable="false" alt="đź§µ" title="Thread" aria-label="Emoji: Thread"> summarizes what the latest is:
- [] sqr brackets to be used for type param
- type param must have a constraint
- constraint `any` will be new keyword
- [] sqr brackets to be used for type param
- type param must have a constraint
- constraint `any` will be new keyword
Types can be constrained by behavior by specifying a list of methods that must be implemented by the type argument
Read on Twitter
summarizes what the latest is:- [] sqr brackets to be used for type param- type param must have a constraint- constraint `any` will be new keyword" title="The #golang proposal to introduce generic functions and types (via parametric polymorphism) has been evolving nicely. This https://abs.twimg.com/emoji/v2/... draggable="false" alt="đź§µ" title="Thread" aria-label="Emoji: Thread"> summarizes what the latest is:- [] sqr brackets to be used for type param- type param must have a constraint- constraint `any` will be new keyword" class="img-responsive" style="max-width:100%;"/>